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

serious bug: a succession of "svn up" can yield a working copy with local changes

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Wed, 5 Aug 2009 02:44:28 +0200

I've just reported the following bug on the Debian BTS:

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539991

So, with Subversion 1.6.3 and one of my repositories (regenerated from
a dump):

$ svn co file:///home/vinc17/private/svn-new_at_1952 wd-test
$ cd wd-test
$ svn pl -v ensl/these/lplain.bst
Properties on 'ensl/these/lplain.bst':
  svn:keywords
    Id Date
$ grep Id ensl/these/lplain.bst
% $Id: lplain.bst 1950 2003-12-08 12:30:36Z lefevre $
$ grep Id ensl/these/.svn/text-base/lplain.bst.svn-base
% $Id: lplain.bst,v 4.0 2000/01/31 18:11:53 vlefevre Exp $
$ svn up -r2769
$ svn pl -v ensl/these/lplain.bst
$ grep Id ensl/these/lplain.bst
% $Id$
$ grep Id ensl/these/.svn/text-base/lplain.bst.svn-base
% $Id: lplain.bst,v 4.0 2000/01/31 18:11:53 vlefevre Exp $
$ svn diff
$ svn up -r2770
$ svn pl -v ensl/these/lplain.bst
Properties on 'ensl/these/lplain.bst':
  svn:mime-type
    text/plain
$ grep Id ensl/these/lplain.bst
% $Id$
$ grep Id ensl/these/.svn/text-base/lplain.bst.svn-base
% $Id: lplain.bst,v 4.0 2000/01/31 18:11:53 vlefevre Exp $
$ svn diff
Index: ensl/these/lplain.bst
===================================================================
--- ensl/these/lplain.bst (revision 2770)
+++ ensl/these/lplain.bst (working copy)
@@ -8,7 +8,7 @@
        % This restriction helps ensure that all standard styles are identical.
        % The file btxbst.doc has the documentation for this style.
 
-% $Id: lplain.bst,v 4.0 2000/01/31 18:11:53 vlefevre Exp $
+% $Id$
 
 ENTRY
   { address

and a "svn up -r1" yields a tree conflict (due to the apparent
local modification).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2380249
Received on 2009-08-05 02:52:53 CEST

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