Checkout
cmpilato
committed
on 03 Feb 08
Rev the svn_ra_get_uuid and svn_ra_get_repos_root interfaces to get a
more natural API, where the pool you provide is actually meaningful
an… Show more
Rev the svn_ra_get_uuid and svn_ra_get_repos_root interfaces to get a

more natural API, where the pool you provide is actually meaningful

and the returned value is allocated in it as you might expect.

* subversion/include/svn_ra.h

 (svn_ra_get_uuid2, svn_ra_get_repos_root2): New functions.

 (svn_ra_get_uuid, svn_ra_get_repos_root): Update docstrings.

* subversion/libsvn_ra/ra_loader.c

 (svn_ra_get_uuid2, svn_ra_get_repos_root2): New functions.

 (svn_ra_reparent): Use svn_ra_get_repos_root2() instead of

   svn_ra_get_repos_root().

* subversion/libsvn_ra/compat.c,

* subversion/libsvn_client/relocate.c,

* subversion/libsvn_client/switch.c,

* subversion/libsvn_client/externals.c,

* subversion/libsvn_client/util.c,

* subversion/libsvn_client/export.c,

* subversion/libsvn_client/status.c,

* subversion/libsvn_client/info.c,

* subversion/libsvn_client/merge.c,

* subversion/libsvn_client/ra.c,

* subversion/libsvn_client/checkout.c,

* subversion/libsvn_client/copy.c,

* subversion/libsvn_client/list.c,

* subversion/libsvn_client/update.c,

* subversion/svnsync/main.c

 Callers of svn_ra_get_uuid() and svn_ra_get_repos_root() changed to

 call svn_ra_get_uuid2() and svn_ra_get_repos_root2(), respectively,

 and now-unnecessary string dupes removed.

Show less