[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Relocate not working with externals

From: Julian Foad <julianfoad_at_apache.org>
Date: Wed, 6 Jan 2016 10:37:44 +0000

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.

- Julian

> To duplicate, create a repository containing two directories and a text file
> in each directory. I created following:
>
> proj1
> proj1/file1.txt
> proj2
> proj2/file2.txt
>
> Now add an external within proj1 for proj2.
> cd proj1
> svn propget svn:externals .
> ^/proj2 proj2
>
> Commit property change to repository.
>
> Replicate repository to a mirror repository.
>
> Checkout proj1 from mirror
>
> svn co svn+ssh://mirror/svn/proj1
>
> Relocate working group to master
>
> cd proj1
> svn relocate svn+ssh://master/svn/proj1
>
> You will see error:
>
> svn: E155024: Invalid source URL prefix: 'svn+ssh://mirror/svn/proj1' (does not overlap target's URL 'svn+ssh://mirror/svn/proj2')
>
> Anybody else seeing this issue?
Received on 2016-01-06 11:38:08 CET

This is an archived mail posted to the Subversion Dev mailing list.