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

Re: SVN List stops on copy

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-18 08:31:22 CET

Daniel Bradby wrote:

> svn list -v -r HEAD
> http://svn.collab.net/repos/subclipse/branches/subclipse-3/core
> 312 mml 15046 Nov 24 04:58 cpl-v10.html
>
> svn log -r 0:HEAD
> http://svn.collab.net/repos/subclipse/branches/subclipse-3/core/cpl-v10.html
[...]
> ------------------------------------------------------------------------
> r317 | mml | 2003-11-25 11:28:57 +1100 (Tue, 25 Nov 2003) | 2 lines

Hmmm, interesting.

Here you're asking for every single revision between 0 and HEAD in which
the file changed. 'svn log' follows the history of the file, starting
in HEAD, and works backwards, traversing copy history. The reason
you're seeing r317 is because the file was implicitly copied in that
revision (really, its parent directory was copied.)

When you run 'svn list' on the HEAD version of the parent directory,
it's showing what the repository thinks is the last-changed-rev of the
file. r312 is indeed the last time the file's contents were changed --
but I wonder why 'svn list' doesn't consider the implicit-copy event to
be important the same way 'svn log' does. This might be an
inconsistency. Maybe cmpilato can comment on this.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 18 08:32:15 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.