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

Re: Detecting renames on one branch with changes on another

From: Justin Johnson <justinjohnson_at_gmail.com>
Date: 2007-05-03 22:01:53 CEST

On 5/3/07, Ryan Schmidt <subversion-2007b@ryandesign.com> wrote:

[snip]

> "svn log -r 5" means "show me the log for revision 5". If you want
> the history to revision 5 from the beginning of time, you could try
> "svn log -r 0:5".
>
> If you don't know that 5 is the last changed revision of foo.c... but
> you do want the entire log of foo.c, from its inception to its last
> changed revision.... why not just get the entire log and omit the
> revision argument?
>
> svn log -v file:///C:/work/testrepo/trunk/foo.c_at_2

The command above will only give me the log for revision 2 and
revision 1, since log always gives you history for the element
starting at the revision specified and going back through time.

But the following command gave me exactly what I wanted.

svn log -r HEAD:0 -v file:///C:/work/testrepo/trunk/foo.c_at_2

This output all history for the specified foo.c in the same order as
log normally displays the output.

Thanks!

Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 3 22:02:40 2007

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.