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

Re: Default log functionality changed?

From: <cmpilato_at_collab.net>
Date: 2003-08-27 17:27:24 CEST

Bruce DeVisser <devisser@look.ca> writes:

> On Tue, Aug 26, 2003 at 11:26:48PM -0500, cmpilato@collab.net wrote:
> > Yes. This change was made to address the bug which
> > occured when trying to run 'svn log' on something in the
> > working copy that had since been removed from HEAD, and to
> > make this subcommand's behavior a bit more consistent with
> > that of other subcommands.
> This would be a bit of a gotcha for CVS users that would be
> worth commenting on in the 'SVN for CVS Users' appendix of
> the book.

Yes, this should definitely happen -- thanks for mentiong it.

Our new 'svn log' behavior is more consistent with other Subversion
subcommands, and the code is certainly less complicated (CVS never has
to worry about things not existing in HEAD -- the ,v file is always
present and easy to find).

As for a workaround, note that if you use the URL of the resource
instead of the working copy path, that defaults to -rHEAD:1 (just like
other Subversion subcommands). So, at least on Unix, you can do
something like:

   svn log `svn info | grep '^Url:' | cut -c6-`

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 27 17:50:47 2003

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.