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

Re: log <wc> vs log <url>

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-16 14:44:16 CEST

"Rob Oxspring" <roxspring@imapmail.org> writes:

> Is there a rationale behind different results for running "svn log" against
> a working copy verses the "equivelant" url? I've long been happily using
> "svn log ." to find what changes have happened *within* the current
> directory and have just twigged that instead of that, it's quite reasonably
> showing the changes that happened *to* the current directory.

The difference between 'svn log path' and 'svn log URL' is that if no
revision arguments are given path targets default to BASE:1 while URL
targets default to HEAD:1. This difference is deliberate, although I
don't recall the rationale.

We ought to document this behaviour in the 'svn log --help' text.

> Rob (starting to ponder whether mixed rev working copies might be part of
> the issue...)

Yes.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 16 14:45:07 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.