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

Re: Subversion 0.7 released.

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-12-05 23:02:03 CET

On Tue, Dec 04, 2001 at 09:14:22PM -0600, cmpilato@collab.net wrote:
>...
> Never fear, 'svn copy --salvage-relationship' is here.
>
> svn copy -r 5 file:///home/pm/repo/foo .
>...
> Now...I'm seeing some bugs as I try to prove this to myself.
> Wondering if Karl and Ben know of any outstanding issues with this
> implementation...but in theory! Yeah, in theory! :-/
>
> Actually, it did work for me, but I just came across some bugs that
> occur when you 'svn up' at just the wrong time in the process.

...$ svn cp -r 5 http://host/path/foo .

It doesn't work over ra_dav because we can't get to the r==5 baseline
collection (BC). We ask /path/foo for a property to reach the BC. But
/path/foo doesn't exist in the HEAD, so things blow up.

I'm not sure what the proper solution is. The sucky one is to get a 404,
peel off one component and ask the parent. Repeat until a PROPFIND comes
back. Get the relpath of that (grand)parent, add the components back on that
you peeled off, and compose that with the BC href.

Urk.

(this would happen in ra_dav's get_baseline_info)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

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.