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

Re: strange diffs reported due to wc round-trip in zip

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 06 Mar 2008 15:03:25 -0500

Richard Carlsson wrote:
> This is how they turned out in the text-base file after committing:
>
> foo.c $Id$
> bar.c $Id:$
> baz.c $Id$
>
> Seems to me there's a bug in the normalization code, that does not
> get rid of the colon if there is nothing following it.

This doesn't appear to be true using a recent trunk build of Subversion:

$ vi file
$ svn add file
A file
$ cat file
compressed $Id$
with colon $Id:$
colon space $Id: $
expanded $Id: baz.c 56 2008-03-06 19:35:19Z richardc $
$ svn pset svn:keywords Id file
property 'svn:keywords' set on 'file'
$ svn diff
Index: file
===================================================================
--- file (revision 5)
+++ file (working copy)
@@ -1,4 +1,4 @@
  compressed $Id$
-with colon $Id:$
-colon space $Id: $
-expanded $Id: baz.c 56 2008-03-06 19:35:19Z richardc $
+with colon $Id$
+colon space $Id$
+expanded $Id$

Property changes on: file
___________________________________________________________________
Added: svn:keywords
    + Id

$

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-03-06 21:03:41 CET

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.