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

Re: svn log questions

From: Bradley Schick <schickb_at_hotmail.com>
Date: 2004-12-10 09:46:52 CET

Thanks for all the info.

>>Wouldn't this be more useful if it looked for the previous *change* on an
>>item so that "svn log -rPREV file" showed the log for the prev change?
>I think what you want is 'svn log file --limit 1'. It will stop after
>showing you one log message, and that's guaranteed to be the most recent
>change on a file.

What I really wanted was the second entry in 'svn log file --limit 2'
having to search for the second entry (i.e. what I thought -rPREV would do)

I still wonder why making -rPREV be the previous change revision wouldn't
be a better solution. Since as you pointed out a file could not have changed
between "COMMITTED-1" and the previous change revision, commands like
diff would not be effected while log would work better.

In other words, isn't the last changed revision also "guaranteed to be the
version of the file just before the latest version"?

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 10 09:49:28 2004

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.