- r858470: 2006-02-09 00:19:26 [jimb] Jim Blandy
-
/COMMITTERS [diff, log, file]
Update my email address.
- r842855: 2002-07-29 22:15:13 [jimb] Jim Blandy
-
/doc/handbook/repos_admin.texi [diff, log, file]
* doc/handbook/repos_admin.texi (Repository maintenance): Put
instructions for unwedging the repository in the proper order. Add
warning about using the right version of db_recover.
- r842611: 2002-07-16 01:10:10 [jimb] Jim Blandy
-
/tools/client-side/vc-svn.el [log, file]
Add preliminary code for a Subversion back end for the Emacs `VC' package.
- r839113: 2001-03-29 23:41:55 [jimb] Jim Blandy
-
/subversion/libsvn_fs/trail.c [diff, log, file]
* trail.c (commit_trail): Call txn_checkpoint each time we complete a trail.
- r839003: 2001-03-22 19:32:43 [jimb] Jim Blandy
-
/subversion/include/svn_fs.h [diff, log, file]
Doc fix.
- r838897: 2001-03-12 16:20:45 [jimb] Jim Blandy
-
/subversion/libsvn_fs/editor.c [diff, log, file]
/subversion/libsvn_fs/rev-table.c [diff, log, file]
/subversion/libsvn_fs/tree.c [diff, log, file]
/subversion/libsvn_fs/txn.c [diff, log, file]
/subversion/tests/libsvn_fs/fs-test.c [diff, log, file]
Make sure that every function which requires an open filesystem calls
svn_fs__check_fs, so the user gets an error, instead of a crash in
Berkeley DB. (Changes from Yoshiki Hayashi --- Thanks!)
* libsvn_fs/editor.c: #include "err.h".
(svn_fs_get_editor): Call svn_fs__check_fs.
* libsvn_fs/rev-table.c (svn_fs_youngest_rev, svn_fs_revision_prop,
svn_fs_revision_proplist, svn_fs_change_rev_prop): Same.
* libsvn_fs/tree.c (svn_fs_revision_root): Same.
* libsvn_fs/txn.c (svn_fs_begin_txn, svn_fs_open_txn,
svn_fs_list_transactions): Same.
* tests/libsvn_fs/fs-test.c: Add new tests for above behavior.
(check_no_fs_error, call_functions_with_unopened_fs): New functions.
(test_funcs): Add call_functions_with_unopened_fs.
* libsvn_fs/editor.c (svn_fs_get_editor): Don't forget to initialize
the edit baton's pointer to the filesystem.
- r838896: 2001-03-12 15:43:27 [jimb] Jim Blandy
-
/subversion/libsvn_fs/TODO [diff, log, file]
Noonie noonie noo...
- r838895: 2001-03-12 15:43:03 [jimb] Jim Blandy
-
/subversion/include/svn_fs.h [diff, log, file]
* include/svn_fs.h (svn_fs_free_file_contents): Function deleted.
svn_fs_file_contents no longer returns a baton anyway; it returns an
svn_stream_t, which can be closed by calling `svn_stream_close'.
- r838836: 2001-03-06 00:11:00 [jimb] Jim Blandy
-
/subversion/libsvn_fs/rev-table.c [diff, log, file]
* include/svn_fs.h (svn_fs_free_file_contents): Function deleted.
svn_fs_file_contents no longer returns a baton; instead, it returns an
svn_stream_t, which should be freed using svn_stream_close.
- r838833: 2001-03-05 17:07:06 [jimb] Jim Blandy
-
/subversion/libsvn_fs/skel.c [diff, log, file]
/subversion/libsvn_fs/skel.h [diff, log, file]
/subversion/tests/libsvn_fs/skel-test.c [diff, log, file]
Don't bother to indent the skels. Skels will usually be small and
simple, and the indentation is impossible to read anyway in output
from db_dump, which hexifies the newline characters.
* libsvn_fs/skel.c (estimate_unparsed_size, unparse): Remove `depth'
arguments; callers fixed. Don't emit or reserve space for indentation.
* libsvn_fs/skel.h: Doc fix.
* tests/libsvn_fs/skel-test.c (unparse_implicit_length): Don't expect
a space after the atom; the interface doesn't promise it.
- r838811: 2001-03-02 23:07:36 [jimb] Jim Blandy
-
/subversion/include/svn_fs.h [diff, log, file]
/subversion/libsvn_fs/fs.c [diff, log, file]
/subversion/tests/libsvn_fs/fs-test.c [diff, log, file]
Be more aggressive about collecting whatever error and warning
messages the filesystem can provide.
* libsvn_fs/fs.c (svn_fs_set_berkeley_errcall): New function.
* include/svn_fs.h (svn_fs_set_berkeley_errcall): New declaration.
* tests/libsvn_fs/fs-test.c (berkeley_error_handler): New function.
(fs_new): New function.
(create_fs_and_repos, open_berkeley_filesystem): Use fs_new, and
register a function to print Berkeley DB error messages.
* libsvn_fs/fs.c (svn_fs_delete_berkeley, check_apr): New functions.
* include/svn_fs.h (svn_fs_delete_berkeley): New declaration.
* tests/libsvn_fs/fs-test.c (create_fs_and_repos): If there's an old
repository where we're trying to create a new one, delete the old one
first.
- r838809: 2001-03-02 22:49:43 [jimb] Jim Blandy
-
/subversion/libsvn_fs/trail.h [diff, log, file]
Doc fix.
- r838808: 2001-03-02 22:36:57 [jimb] Jim Blandy
-
/subversion/libsvn_fs/rev-table.c [diff, log, file]
* libsvn_fs/rev-table.c (txn_body_youngest_rev): Don't forget to close
the cursor.
- r838806: 2001-03-02 22:25:43 [jimb] Jim Blandy
-
/subversion/libsvn_fs/nodes-table.c [diff, log, file]
NOTE!!! With this change, the Subversion filesystem now requires
Berkeley DB 3.2.9.
* libsvn_fs/nodes-table.c (compare_nodes_keys): Add `DB *' argument,
to match the prototype expected by Berkeley DB 3.2.9. GCC flags this
mismatch as a warning, not an error, which seems silly.
- r838804: 2001-03-02 22:17:15 [jimb] Jim Blandy
-
/subversion/include/svn_error.h [diff, log, file]
/subversion/libsvn_subr/svn_error.c [diff, log, file]
* libsvn_subr/svn_error.c (svn_handle_warning): Make the `fmt' argument
const, for compatibility with svn_fs_warning_callback_t in `include/svn_fs.h'.
* include/svn_error.h (svn_handle_warning): Update declaration.
- r838777: 2001-02-28 23:22:34 [jimb] Jim Blandy
-
/subversion/libsvn_fs/dag.c [diff, log, file]
/subversion/libsvn_fs/nodes-table.c [diff, log, file]
* libsvn_fs/structure: Clarify definition of `mutable' flag.
* libsvn_fs/dag.c (set_mutable_flag): Use an empty atom as the parent
node revision ID of a mutable root directory.
* libsvn_fs/nodes-table.c (is_valid_flag): Revert previous change ---
all valid mutable flags are two-element lists.
- r838774: 2001-02-28 22:07:10 [jimb] Jim Blandy
-
/subversion/libsvn_fs/structure [diff, log, file]
Tweak Karl's tweak of the syntax of the "mutable" flag.
- r838770: 2001-02-28 21:25:22 [jimb] Jim Blandy
-
/subversion/include/svn_error.h [diff, log, file]
/subversion/tests/libsvn_fs/skel-test.c [diff, log, file]
/subversion/tests/libsvn_subr/hashdump-test.c [diff, log, file]
/subversion/tests/libsvn_subr/stringtest.c [diff, log, file]
/subversion/tests/svn_tests_main.c [diff, log, file]
/subversion/tests/TEST-FRAMEWORK [diff, log, file]
Change the common test framework to indicate failure by returning a
Subversion error. This means that:
- we can use SVN_ERR in the usual way to report a failure whenever a
library call fails,
- use svn_handle_error to print out the messages,
- set a breakpoint on svn_error_create to stop the process before we
lose the context in which the failure was detected.
* tests/TEST-FRAMEWORK: Update documentation.
* tests/svn_tests_main.c (test_funcs): This is an array of functions
returning Subversion errors, not ints.
(do_test_num): Expect a Subversion error, not an int. Tighten up some
of the message formatting.
* tests/libsvn_fs/skel-test.c (fail): Take printf-style arguments, and
return an svn_error_t. All callers fixed.
(parse_implicit_length, try_explicit_length, parse_explicit_length,
parse_invalid_atoms, parse_list, unparse_implicit_length,
unparse_list): Return Subversion errors, not ints.
(test_funcs): Adjust to match declaration in `svn_tests_main.c'.
* tests/libsvn_subr/hashdump-test.c (check): New function.
(test1, test2, test3): Return Subversion errors, not ints.
(test_funcs): Adjust to match declaration in `svn_tests_main.c'.
* tests/libsvn_subr/stringtest.c (fail): New function.
(test1, test2, test3, test4, test5, test6, test7, test8, test9,
test10, test11, test12): Return Subversion errors, not ints.
(test_funcs): Adjust to match declaration in `svn_tests_main.c'.
* include/svn_error.h (SVN_ERR_TEST_FAILED): New error code.
- r838769: 2001-02-28 21:10:50 [jimb] Jim Blandy
-
/subversion/libsvn_subr/svn_error.c [diff, log, file]
* libsvn_subr/svn_error.c (svn_handle_error): Don't print err->message
unless it's non-zero. In some cases (e.g., Subversion errors wrapping
APR errors), we can get the message from the error code alone.
- r838768: 2001-02-28 21:09:15 [jimb] Jim Blandy
-
/subversion/libsvn_subr/hashdump.c [diff, log, file]
* libsvn_subr/hashdump.c (svn_hash_write, read_length_line,
svn_hash_read): Since we return an apr_status_t, not an svn_error_t,
return APR_SUCCESS, not SVN_NO_ERROR.
- r838756: 2001-02-28 15:46:15 [jimb] Jim Blandy
-
/subversion/libsvn_fs/dbt.c [diff, log, file]
/subversion/libsvn_fs/nodes-table.c [diff, log, file]
/subversion/libsvn_fs/rev-table.c [diff, log, file]
/subversion/libsvn_fs/txn-table.c [diff, log, file]
* libsvn_fs/txn-table.c (allocate_txn_id): Add missing call to
svn_fs__track_dbt!
Pair calls to svn_fs__track_dbt more closely with the corresponding
calls to svn_fs__result_dbt, to reduce the likelihood that people will
make changes that leak storage.
* libsvn_fs/nodes-table.c (svn_fs__get_rep, svn_fs__new_node_id): Move call to
svn_fs__track_dbt immediately after the Berkeley DB operation; it's
fine to call svn_fs__track_dbt on a DBT with a null data pointer.
* libsvn_fs/rev-table.c (svn_fs__get_rev): Same.
* libsvn_fs/txn-table.c (svn_fs__get_txn): Same.
* libsvn_fs/dbt.c (svn_fs__recno_dbt): Move this out from between
svn_fs__result_dbt and svn_fs__track_dbt; those are meant to be used
together.
- r838755: 2001-02-28 15:36:48 [jimb] Jim Blandy
-
/subversion/libsvn_fs/dbt.h [diff, log, file]
* libsvn_fs/dbt.h: Formatting tweak. Don't put svn_fs__recno_dbt
between svn_fs__result_dbt and svn_fs__track_dbt; the latter two are
supposed to be used as a pair.
- r838754: 2001-02-28 15:26:37 [jimb] Jim Blandy
-
/subversion/libsvn_fs/nodes-table.c [diff, log, file]
Doc fixes.
- r838747: 2001-02-27 23:30:54 [jimb] Jim Blandy
-
/subversion/libsvn_fs/trail.h [diff, log, file]
Doc fixes --- give a general overview of how trails and
svn_fs__retry_txn are supposed to be used.
- r838742: 2001-02-27 22:15:13 [jimb] Jim Blandy
-
/subversion/libsvn_fs/tree.c [diff, log, file]
* libsvn_fs/tree.c (struct dir_entries_args, txn_body_dir_entries):
New type; new function.
(svn_fs_dir_entries): Fill in this definition.