Thanks for the reply Mark.
(1)
No, UPDATED is *not* the same as HEAD.
HEAD and UPDATED are not the same revision, although they are equivalent for some purposes, such as update.
The commands
svn log -r1011
svn log -r1012
svn log -r1013
svn log -r1014
svn log -r1015
svn log -rHEAD
are each for a single revision that may not exist at the given path ('.' in this case).
The responses are *empty*.
[This is supposing that the WC has BASE at 1000, that the most recent revision committed at this path is 1010, and that revisions 1011 to HEAD=1015 were committed to a separate path in the repository.]
On the other hand, the commands
svn log -r1010
svn log -rUPDATED
provide me with information on the latest non-trivial *single* revision.
You would be correct that
svn log -rBASE:HEAD
svn log -rBASE:UPDATED
are equivalent however.
But, for a *single* revision, it makes all the difference.
(2)
I like the name "TAIL".
Rob.
-----Original Message-----
From: Mark Phippard [mailto:markp@softlanding.com]
Sent: 06 October 2006 16:23
To: Rob Hubbard
Cc: Subversion Mailing List (E-mail)
Subject: Re: Feature Suggestions: Additional Revision Names UPDATED and
COPIED
"Rob Hubbard" <Rob.Hubbard@celoxica.com> wrote on 10/06/2006 11:12:54 AM:
> The command
> svn log -rHEAD
> has an essentially empty response (which is correct).
>
> The command
> svn log -rUPDATED
> would be equivalent to
> svn log -r1010
When would this ever be useful? All of these commands should give the
same output in your example:
svn log -r1010
svn log -r1011
svn log -r1012
svn log -r1013
svn log -r1014
svn log -r1015
svn log -rHEAD
So what is the value of a new keyword that is the same as HEAD? There is
no value from a Subversion point of view in knowing that r1010 was the
last time this particular path was updated.
> (2) COPIED
> ======
>
> To determine when a branch was created, the command
> svn log -rHEAD:0 --stop-on-copy
> may be used. The last revision listed is the one in which the branch was
created.
>
> If that revision was represented by "COPIED" (or "CREATED" or something
> similar), then the command
> svn log -rCOPIED -v
> would provide the required information without the many screensful (if
> that's a word) of additional information.
This has been proposed before with "TAIL" being the recommended keyword. I
think the general consensus is that it would be nice to have. I would not
be surprised if there was already an issue filed.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
_____________________________________________________________________
This incoming message has been checked for all known viruses by the Messagelabs Scanning System, on behalf of Celoxica Ltd.
_____________________________________________________________________
This message has been checked for all known viruses by the MessageLabs Virus Scanning Service, on behalf of Celoxica Ltd.
This email and any files transmitted with it are confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed. If you have received
this in error, please contact the sender and delete the material
immediately. Whilst this email has been swept for viruses, you
should carry out your own virus check before opening any
attachment. Celoxica Ltd accepts no liability for any loss or
damage which may be caused by software viruses or interception
or interruption of this email.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 6 17:53:18 2006