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

Re: 'svn log -v' does not bring recent changes logs unless they are synced locally

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-10-24 17:31:46 CEST

On 10/23/2006 1:48 PM, Leonard Gestrin wrote:
> Hello,
> It appears that
> 'svn log' command does not bring the latest logs from repository,
> unless they are synced.
> Is that expected behavior? Is specifying explicit URL is the only way to
> see logs for particular path? It's a bit confusing that unless I
> remember to always sync before asking for logs in working directory, I
> might miss recent log entries.

It is documented behaviour, so it's expected by those who RTFM:

$ svn log --help
log: Show the log messages for a set of revision(s) and/or file(s).
usage: 1. log [PATH]
        2. log URL [PATH...]

   1. Print the log messages for a local PATH (default: '.').
      The default revision range is BASE:1.

   2. Print the log messages for the PATHs (default: '.') under URL.
      The default revision range is HEAD:1.

So if you want all lot messages without giving the URL, just ask for

svn log -rHEAD:1

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 24 17:33:10 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.