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

Re: Feature Suggestions: Additional Revision Names UPDATED and COPIED

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-10-06 17:23:14 CEST

"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
Received on Fri Oct 6 17:23:58 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.