Julian Foad <julianf...@apache.org> writes: > On 16 December 2015, Larry Baird wrote: >> On FreeBSD 10.2 using subversion 1.9.3 from ports, relocating a working copy >> with externals does not work. > > Hi, Larry. Thanks for the problem report. One way you could help push > this issue forward is to code your test case as a Python test in > subversion/tests/cmdline/relocate_tests.py. There is already a test > called 'relocate_with_relative_externals', so maybe start by cloning > that test.
I can reproduce: svnadmin create repo --compatible-version 1.8 svnadmin create repo2 --compatible-version 1.8 svnmucc -mm -U file://`pwd`/repo mkdir A mkdir B propset svn:externals '^/B B' A svnadmin dump repo | svnadmin load repo2 svn co file://`pwd`/repo/A wc $ svn relocate file://`pwd`/repo2/A wc svn: E155024: Invalid source URL prefix: 'file:///home/pm/sw/subversion/obj/repo/A' (does not overlap target's URL 'file:///home/pm/sw/subversion/obj/repo/B') With 1.8 the relocate does not produce an error but does not relocate the external either: $ svn1.8 relocate file://`pwd`/repo2/A wc $ svn info --show-item url wc wc/B file:///home/pm/sw/subversion/obj/repo2/A wc file:///home/pm/sw/subversion/obj/repo/B wc/B The error does not occur if the working copy root is the repository root: $ svn co file://`pwd`/repo wc $ svn relocate file://`pwd`/repo2 wc $ svn info --show-item url wc wc/A wc/A/B file:///home/pm/sw/subversion/obj/repo2 wc file:///home/pm/sw/subversion/obj/repo2/A wc/A file:///home/pm/sw/subversion/obj/repo2/B wc/A/B -- Philip Martin WANdisco