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

Re: svn log hides log messages

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-30 08:26:42 CET

On Dec 27, 2004, at 6:24 PM, erh@swapsimple.com wrote:

>
> "svn log" has really annoying behaviour where is hides log messages
> for revisions that are newer than what is currently checked out. I
> read
> a few messages that mentions this, and it seems that this won't be
> changing
> any time soon, but I find this behaviour horribly confusing.
> Is there a configuration option that I can set to change this? I
> thought there was a way to specify default args to a svn command, but
> I can't seem to find it. I'd be happy if I could specify "-r HEAD" as
> the
> default option for svn log.
>

'svn log', with no arguments, runs the command on the '.' directory at
BASE revision... just like every other svn subcommand. That means
you're asking to see the history of every commit ever made to the
working-dir at revision BASE, then going backwards in time from there.

So, if your working copy is all at revision 8, and then you commit a
change to foo.c, the whole working is *still* at revision 8, and foo.c
is now at revision 9. If you run 'svn log', you're asking for all
commits that happened to r8 of the directory. That means you *won't*
see the r9 commit you just made.

The two workarounds are:

    1. run 'svn log' on a URL instead of '.'

    2. run 'svn up' first.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 30 09:03:56 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.