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

Re: incorrect Last Changed Rev after upgrade from 1.6.17 to 1.7.5

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Tue, 19 Jun 2012 09:46:20 +0200

On 2012-06-19 01:29:18 -0400, Greg Stein wrote:
> In 1.6, we erroneously used the containing directory's revision for the
> file in certain cases. 1.7 is correct: the file is not changed until r4.
> Maybe the directory has, but that is independent of the file.

But in this case, is it normal that r3 is still in the log of the
file? For instance, even though r3 is not a changed rev of the file,
"svn log -v file" gives:

------------------------------------------------------------------------
r4 | vinc17 | 2012-06-19 09:36:50 +0200 (Tue, 19 Jun 2012) | 1 line
Changed paths:
   D /dir2/file
   A /file (from /dir2/file:3)

mv dir2/file .
------------------------------------------------------------------------
r3 | vinc17 | 2012-06-19 09:36:47 +0200 (Tue, 19 Jun 2012) | 1 line
Changed paths:
   D /dir1
   A /dir2 (from /dir1:2)

mv dir1 dir2
------------------------------------------------------------------------
r2 | vinc17 | 2012-06-19 09:36:44 +0200 (Tue, 19 Jun 2012) | 1 line
Changed paths:
   A /dir1/file

add dir1/file
------------------------------------------------------------------------

IMHO, this can be useful information in the log history, but the
difference between what is regarded as a "changed rev" of a file
and the file history that appears in the log doesn't seem to be
documented.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2012-06-19 09:46:55 CEST

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.