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

Re: description of Peg Revision Algorithm is incomplete

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 30 Mar 2010 12:12:59 -0400

Vincent Lefevre wrote:
> On 2010-03-30 09:31:27 -0400, C. Michael Pilato wrote:
>> Nobody should be trying to run 'svn cat some/file.c_at_50' if what they mean is
>> "follow the history of some/file.c back to r50 and cat the contents there".
>> That's just not the correct syntax for invoking the algorithm, and no
>> amount of wishful thinking will change that. The correct syntax for that
>> request is 'svn cat some/file.c -r50'.
>
> This syntax doesn't work if some/file.c is deleted in r51.
> So, what would be the syntax to get some/file.c from r50 in
> this case?

Interactions in the working copy with the path some/file.c only make sense
if there is actually such a path in the working copy. If some/file.c is
deleted in r51, then either it isn't in your working copy (because you've
updated past r50) or it is, at r50 or earlier. If it is, you run 'svn cat
some/file.c' as usual. If it isn't, then the path 'some/file.c' has no
meaning anyway, so it falls to you to spelunk history and tell Subversion
more precisely what object you're talking about.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2010-03-30 18:13:32 CEST

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.