You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Bradby <da...@dbradby.net> on 2004/02/18 02:08:08 UTC

SVN List stops on copy

Hi

I asked a similar question about svn log.

when I use svn list -v it gives me the revisions of all the files in the 
directory .. but it seems to stop on copy.

For example for the file "cpl-v10.html" svn list shows the revision at 
312 ... but svn log shows it at 317. Is there anyway to make SVN list 
show the 317 revision? Like turn off stop on copy.

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
------------------------------------------------------------------------
r8 | cchab | 2003-06-21 08:18:03 +1000 (Sat, 21 Jun 2003) | 1 line

first commit of core
------------------------------------------------------------------------
r199 | mml | 2003-10-14 09:59:51 +1000 (Tue, 14 Oct 2003) | 3 lines

0.8.1 release branch


------------------------------------------------------------------------
r209 | mml | 2003-10-14 10:15:36 +1000 (Tue, 14 Oct 2003) | 3 lines


code for 3.0 eclipse goes here. branched from 0.8.1

------------------------------------------------------------------------
r312 | mml | 2003-11-24 04:58:13 +1100 (Mon, 24 Nov 2003) | 2 lines

merged from 297 to 308

------------------------------------------------------------------------
r317 | mml | 2003-11-25 11:28:57 +1100 (Tue, 25 Nov 2003) | 2 lines

re-org

------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN List stops on copy

Posted by Ben Collins-Sussman <su...@collab.net>.
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