Checkout Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 843809 is being indexed.

Just be glad you're not updating over libsvn_ra_pigeons...

* everywhere: Remove "local variables:" eval blocks.

* subversion/libsvn_repos/hooks.c: But leave the vim stuff here.

* tools/dev/svn-dev.el, doc/book/tools/svnbook.el:

Get rid of obsolete loading instructions.

* HACKING: Describe how to load the elisp files from .emacs.

* doc/book/HACKING: Add querulous comment.

  1. … 338 more files in changeset.
Push new editor interface through RA interface and some svn_repos

interfaces. Consequentially, convert WC diff editor and test dir

delta editor to new interface. No drivers have been converted, but a

lot of wrapping moved around. (Overall, less wrapping is necessary

now.)

See issue #737.

* subversion/include/svn_ra.h

(svn_ra_plugin_t): Make update, switch, status, and diff operations

take new-style editors.

* subversion/include/svn_repos.h

(svn_repos_begin_report, svn_repos_dir_delta): Take new-style editor.

* subversion/include/svn_wc.h

(svn_wc_get_diff_editor): Yield new-style editor.

* subversion/libsvn_client/switch.c (svn_client_switch): Unwrap.

* subversion/libsvn_client/diff.c (do_merge, do_diff): Unwrap.

* subversion/libsvn_client/update.c (svn_client_update): Unwrap.

* subversion/libsvn_client/status.c (add_update_info_to_status_hash): Unwrap.

* subversion/libsvn_ra_dav/ra_dav.h, subversion/libsvn_ra_dav/fetch.c

(svn_ra_dav__do_update, svn_ra_dav__do_status,

svn_ra_dav__do_switch, svn_ra_dav__do_diff): Take new-style editor.

Wrap before passing to make_reporter().

* subversion/libsvn_ra_local/ra_plugin.c

(make_reporter, svn_ra_local__do_update, svn_ra_local__do_switch,

svn_ra_local__do_status, svn_ra_local__do_diff): Take new-style editor.

* subversion/libsvn_repos/reporter.c

(svn_repos_report_baton_t, svn_repos_begin_report): Use new-style

editor.

* subversion/libsvn_repos/dump.c (svn_repos_dump_fs): Unwrap.

* subversion/libsvn_repos/delta.c (svn_repos_dir_delta): Unwrap.

* subversion/libsvn_wc/diff.c

(make_editor_baton, make_dir_baton, make_file_baton, open_root,

add_directory, open_directory, add_file, open_file, change_file_prop,

change_dir_prop, close_edit, svn_wc_get_diff_editor): Convert to new

editor interface. A fairly traumatic conversion. make_dir_baton

and make_file_baton now take full wc paths, so that they can be

constructed either from anchor_path or from the parent path as

needed. Clarified the definition and purpose of file_baton's

wc_path. Adding filenames to pb->compared now happens at open/add

time, since files can be closed after their parent dirs are

closed.

* subversion/svnlook/main.c (generate_delta_tree): Unwrap.

* subversion/tests/libsvn_repos/repos-test.c

(dir_deltas): Use new-style editor.

* subversion/tests/libsvn_repos/dir-delta-editor.h,

subversion/tests/libsvn_repos/dir-delta-editor.c

(test_delete_entry, test_open_root, test_open_directory,

test_add_directory, test_open_file, test_add_file,

test_change_file_prop, test_change_dir_prop, dir_delta_get_editor):

Convert to new editor interface.

  1. … 18 more files in changeset.
* subversion/svnadmin/svnadmin.h

* subversion/libsvn_fs/key-gen.c

* subversion/libsvn_fs/key-gen.h

* subversion/libsvn_fs/bdb/reps-table.h

* subversion/libsvn_fs/bdb/dbt.c

* subversion/libsvn_fs/bdb/dbt.h

* subversion/libsvn_fs/bdb/strings-table.h

* subversion/libsvn_fs/bdb/changes-table.c

* subversion/libsvn_fs/fs.c

* subversion/libsvn_fs/txn.c

* subversion/libsvn_fs/trail.c

* subversion/libsvn_fs/fs.h

* subversion/libsvn_fs/trail.h

* subversion/libsvn_fs/node-rev.h

* subversion/libsvn_fs/err.c

* subversion/libsvn_fs/util/fs_skels.h

* subversion/libsvn_fs/util/skel.h

* subversion/libsvn_fs/err.h

* subversion/libsvn_wc/adm_crawler.c

* subversion/libsvn_subr/svn_error.c

* subversion/libsvn_subr/path.c

* subversion/libsvn_subr/pipe.c

* subversion/libsvn_ra_local/commit_editor.c

* subversion/libsvn_client/commit_util.c

* subversion/clients/cmdline/prompt.c

* subversion/tests/libsvn_fs/key-test.c

* subversion/tests/libsvn_fs/changes-test.c

* subversion/tests/libsvn_fs/skel-test.c

* subversion/tests/libsvn_fs/strings-reps-test.c

* subversion/tests/libsvn_subr/stringtest.c

* subversion/tests/svn_test_editor.c

* subversion/tests/libsvn_repos/dir-delta-editor.h

* subversion/tests/libsvn_repos/dir-delta-editor.c

* subversion/tests/libsvn_delta/random-test.c

* subversion/libsvn_repos/load.c

* subversion/libsvn_repos/hooks.c

* subversion/libsvn_repos/node_tree.c

* subversion/libsvn_repos/repos.c

* subversion/libsvn_repos/delta.c

* subversion/libsvn_repos/repos.h

* subversion/libsvn_delta/delta.h

* subversion/libsvn_delta/xml_parse.c

Replace all occurences of #include "apr*" with #include <apr*> and

#include "db.h" with <db.h>.

  1. … 41 more files in changeset.
Cleanups to rev 1662 et al. I nod gelatinously in Greg Stein's

direction for pointing out these problems.

* subversion/include/svn_io.h, subversion/libsvn_subr/io.c

(svn_io_filesizes_different_p): New name for

svn_io__filesizes_different_p.

* subversion/libsvn_wc/props.c

(svn_wc_props_modified_p): Adjust caller for above.

* subversion/libsvn_wc/questions.c

(svn_wc__files_contents_same_p): Same.

In most internal header files, namespace-protect the multiple include

guards, and/or add cplusplus guards:

subversion/bindings/java/jni/date.h

subversion/bindings/java/jni/entry.h

subversion/bindings/java/jni/global.h

subversion/bindings/java/jni/hashtable.h

subversion/bindings/java/jni/item.h

subversion/bindings/java/jni/j.h

subversion/bindings/java/jni/misc.h

subversion/bindings/java/jni/nodekind.h

subversion/bindings/java/jni/revision.h

subversion/bindings/java/jni/schedule.h

subversion/bindings/java/jni/status.h

subversion/bindings/java/jni/statuskind.h

subversion/bindings/java/jni/string.h

subversion/bindings/java/jni/svn_jni_global.h

subversion/bindings/java/jni/vector.h

subversion/bindings/ruby/delta_editor.h

subversion/bindings/ruby/error.h

subversion/bindings/ruby/fs.h

subversion/bindings/ruby/fs_node.h

subversion/bindings/ruby/fs_root.h

subversion/bindings/ruby/fs_txn.h

subversion/bindings/ruby/log.h

subversion/bindings/ruby/stream.h

subversion/bindings/ruby/svn_ruby.h

subversion/bindings/ruby/txdelta.h

subversion/bindings/ruby/util.h

subversion/bindings/ruby/wc.h

subversion/bindings/swig/swigutil.h

subversion/clients/cmdline/cl.h

subversion/clients/cmdline/client_errors.h

subversion/include/svn_io.h

subversion/libsvn_client/client.h

subversion/libsvn_delta/delta.h

subversion/libsvn_fs/dag.h

subversion/libsvn_fs/dbt.h

subversion/libsvn_fs/err.h

subversion/libsvn_fs/fs.h

subversion/libsvn_fs/id.h

subversion/libsvn_fs/key-gen.h

subversion/libsvn_fs/node-rev.h

subversion/libsvn_fs/nodes-table.h

subversion/libsvn_fs/proplist.h

subversion/libsvn_fs/reps-strings.h

subversion/libsvn_fs/reps-table.h

subversion/libsvn_fs/rev-table.h

subversion/libsvn_fs/skel.h

subversion/libsvn_fs/strings-table.h

subversion/libsvn_fs/trail.h

subversion/libsvn_fs/tree.h

subversion/libsvn_fs/txn-table.h

subversion/libsvn_fs/txn.h

subversion/libsvn_fs/validate.h

subversion/libsvn_ra_dav/ra_dav.h

subversion/libsvn_ra_local/ra_local.h

subversion/libsvn_repos/repos.h

subversion/libsvn_subr/config_impl.h

subversion/libsvn_subr/io.c

subversion/libsvn_wc/adm_files.h

subversion/libsvn_wc/adm_ops.h

subversion/libsvn_wc/entries.h

subversion/libsvn_wc/log.h

subversion/libsvn_wc/props.h

subversion/libsvn_wc/questions.h

subversion/libsvn_wc/translate.h

subversion/libsvn_wc/wc.h

subversion/mod_dav_svn/dav_svn.h

subversion/svnadmin/svnadmin.h

subversion/tests/fs-helpers.h

subversion/tests/libsvn_repos/dir-delta-editor.h

  1. … 70 more files in changeset.
Fixed a bunch of spurious whitespace in copyright notices.

Revert change to check-license.py that attempted to compensate for the

slightly different style in the Ruby bindings licenses.

Change all the Ruby binding file licences to be the same as the rest

of Subversion.

  1. … 333 more files in changeset.
Sigh. Hadn't updated the new license in check-license.py for the

previous commit. Here we go again...

  1. … 334 more files in changeset.
Move svn-dev.el to tools/dev/, then update copyright notice and

svn-dev.el loader for all files.

[Note: see next commit. I'd forgotten to update the license in

check-license.py, so not all copyright notices were updated in

the way they should have been.]

  1. … 339 more files in changeset.
* tools/check-license.py: Change to reflect new license.

* everything with a license: Updated with text acknowledging

contributors and advising how to track contribution history.

Suggested by C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>.

  1. … 221 more files in changeset.
Rename the svn_string_t type to svn_stringbuf_t.

  1. … 123 more files in changeset.
Update copyright from 2000 to 2000-2001. Used gstein's script to make it all happen. Thanks, Greg.

  1. … 157 more files in changeset.
* libsvn_fs/delta.c

(replace_with_nearest): De-commissioned this function until further

notice.

(add_file_or_dir): Cosmetic changes only.

(replace_file_or_dir): Added base_revision validity check.

(delta_dirs): Changed to, instead of using the de-commissioned

replace_with_nearest, replace unrelated entries with a deleta/add

combo (with cheese, no pickles, onion rings, and Biggie-size that,

please).

* tests/libsvn_fs/dir-delta-editor.c

* tests/libsvn_fs/dir-delta-editor.h

New files for the svn_fs_dir_delta test case in fs-test.c, these

contain the implementation of an editor driven by svn_fs_dir_delta

to in turn use filesystem calls to modify the state of a transaction

tree.

* tests/libsvn_fs/Makefile.am

(dir-delta-editor.c) New file to build.

* tests/libsvn_fs/fs-test.c

#include dir-delta-editor.h and svn_delta.h now. Also, fixed some

comments in places where tree_test_entry_t's were used.

(tree_test_t): New structure for wrapping tree_test_entry_t items.

(txn_script_command_t): New structure for making quick-n-dirty edits

to a filesystem transaction.

(txn_script_exec): Function for executing the quick-n-dirty edits as

defined by the array of txn_script_command_t's.

(dir_deltas): New test case for svn_fs_dir_delta().

(test_funcs): Added reference to new test dir_deltas.

    • -0
    • +40
    ./dir-delta-editor.h
  1. … 8 more files in changeset.