r863922 | jerenkrantz | 2007-03-15 17:20:34 +0000 (Thu, 15 Mar 2007)
Allow switch --relocate to work against directly unreadable repos roots.
Instead we need to call svn_ra_get_repos_root with the base URL as that is
expected to be readable.
Reported by: Scott Hendrickson
* subversion/include/svn_wc.h
(svn_wc_relocation_validator3_t): New prototype.
(svn_wc_relocation_validator2_t): Deprecate.
(svn_wc_relocate3): New prototype.
(svn_wc_relocate2): Deprecate.
* subversion/libsvn_wc/relocate.c
(relocate_entry): Take in svn_wc_relocation_validator3_t and send in new
args; only do the repos root change if our URL changed too.
(svn_wc_relocate3): Take in new prototype.
(compat2_validator, compat_validator): Wrap around validator3_t.
(svn_wc_relocate2, svn_wc_relocate1): Wrap around relocate3().
* subversion/libsvn_client/relocate.c
(validator_func): Adjust for prototype change.
(svn_client_relocate): Call new wc function.