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

Re: Help explain peg revisions

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2006-03-17 14:36:26 CET

On 16-Mar-06, at 3:11 PM, David Heppenstall wrote:

> Vincent Starre wrote:
>>
>>> Gale, David wrote:
>>>
>>>> The syntax given by Mr. Heppenstall (svn checkout <URL>@5..." is
>>>> wrong; it's full equivalent is "svn co -rHEAD <URL>@5",
>>>> which means "checkout the current revision of the file that was at
>
>>>> this URL at revision 5".
>
> The syntax I provided was taken directly from Chapter Nine of the
> Subversion Book:
> "svn checkout URL[@REV]... [PATH]"

I think it is important to discourage this as a method of specifying
which revision to checkout. Peg revisions should be used only to
specify the namespace for the path look-ups.. because when Subversion
gets true renames I think it is best that the revision to fetch
always defaults to HEAD whether I use a peg revision or not. It also
simply creates confusion between the concept of peg revisions and the
-r option.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 17 14:42:08 2006

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

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