[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 13 Nov 2013 13:00:47 -0500

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.
Received on 2013-11-13 19:01:27 CET

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