Checkout
Julian Foad
committed
on 15 Feb 06
Stop calling deprecated APIs; call the revised versions instead. In all
cases except the first, don't try to use any new features of the ne… Show more
Stop calling deprecated APIs; call the revised versions instead.  In all

cases except the first, don't try to use any new features of the new APIs.

* subversion/libsvn_client/commit_util.c

 (harvest_committables): Call the new svn_wc_walk_entries2() and enable

   cancellation in it.

* subversion/libsvn_client/diff.c

 (do_merge, diff_repos_wc): Call the new svn_ra_do_diff2().

* subversion/libsvn_client/ra.c

 (open_tmp_file): Call the new svn_io_open_unique_file2().

* subversion/libsvn_repos/dump.c

 (svn_repos_dump_fs2): Call the new svn_repos_replay2().

* subversion/libsvn_wc/adm_ops.c

 (svn_wc_process_committed2): Call itself to recurse, not its predecessor.

 (erase_from_wc): Call the new svn_io_get_dirents2().  (The new part of the

   result is not used.)

* subversion/libsvn_wc/status.c

 (get_dir_status): Call the new svn_io_get_dirents2().  (The new part of the

   result was already being used; the reimplementation of the old function

   happened to provide it.)

* subversion/mod_dav_svn/repos.c

 (dav_svn_deliver): Call the new svn_io_get_dirents2().

* subversion/svndumpfilter/main.c

 (filtering_vtable): Upgrade to svn_repos_parser_fns2_t.

 (do_filter): Call the new svn_repos_parse_dumpstream2().

* subversion/svnlook/main.c

 (generate_delta_tree): Call the new svn_repos_replay2().

 (do_log): Call the new svn_subst_translate_cstring2().

 (do_history): Call the new svn_repos_history2().

* subversion/svnsync/main.c

 (open_tmp_file): Call the new svn_io_open_unique_file2().

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

 (node_tree_delete_under_copy): Call the new svn_repos_replay2().

Show less