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

Re: [PATCH] Fix automatic relocate during update

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 25 Nov 2013 14:41:52 +0000

"C. Michael Pilato" <cmpilato_at_collab.net> writes:

> On 11/11/2013 03:50 PM, Ryan Mulder wrote:
>> When using svn 1.8.4 to update a working copy whose target url has a
>> permanent redirect, the automatic relocate fails with error:
>> svn: E155024: Invalid relocation destination: 'url' (does not point
>> to target)
>>
>> This only happens when the working copy's target url is not at the
>> repository root.
>>
>> This bug does not exist in 1.7.10, but does still exist in revision
>> 1540746 of http://svn.apache.org/repos/asf/subversion/trunk, which was
>> the head at the time of this writing.
>>
>> I've attached a patch and a recipe to reproduce the issue.
>> I've also pasted them below.
>>
>> Thanks very much for an excellent product which I enjoy very much.
>> And thanks for taking the time to review this issue.
>>
>> -Ryan Mulder
>
> I took a crack at adding a regression test for this:
>
> Sending redirect_tests.py
> Transmitting file data .
> Committed revision 1541638.

I've committed the patch to fix the issue in r1545302.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2013-11-25 15:42:31 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.