Checkout
hwright
committed
on 11 Aug 09
Replace a single svn_wc__entry_versioned() call with
svn_wc__get_entry_versioned(),greatly simplify a couple of other functions
dependent on… Show more
Replace a single svn_wc__entry_versioned() call with

svn_wc__get_entry_versioned(),greatly simplify a couple of other functions

dependent on the first one, and update all their callers to stop passing

access batons around.

* subversion/libsvn_client/util.c

 (wc_path_to_repos_url): Directly fetch an entry, instead of possibly opening

   up an access baton to do it.

 (svn_client__path_relative_to_root, svn_client_get_repos_root):

   Don't use an access baton to call the above function, and greatly simplify

   these functions by not worrying about cleaning up the access baton.

   Also, add scratch_pools.

* subversion/libsvn_client/client.h

 (svn_client__path_relative_to_root, svn_client_get_repos_root):

   Update params and docstrings.

* subversion/libsvn_client/externals.c,

 subversion/libsvn_client/cmdline.c,

 subversion/libsvn_client/merge.c,

 subversion/libsvn_client/url.c,

 subversion/libsvn_client/copy.c,

 subversion/libsvn_client/mergeinfo.c,

 subversion/libsvn_client/list.c:

   Update various callers of svn_client__path_relative_to_root() and

   svn_client_get_repos_root().

Show less