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

Re: Inconsistent expansion of the $Id$ keyword

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2004-02-12 18:43:20 CET

On 2004-02-12 17:26:18 +0000, Philip Martin wrote:
> Vincent Lefevre <vincent+svn@vinc17.org> writes:
>
> > OK, I can now see the problem
>
> It would help if you put all the steps to reproduce the problem into a
> single email. At present I have difficulty even determining what you
> think goes wrong.

All the steps were there, but this should be clearer:

greux:~tmp> svnadmin create svn
greux:~tmp> svn co file:///home/lefevre/tmp/svn wd1
Checked out revision 0.
greux:~tmp> cd wd1
greux:~tmp/wd1> echo '$Id$' > file
greux:~tmp/wd1> svn add file
A file
greux:~tmp/wd1> svn propset svn:keywords Id file
property 'svn:keywords' set on 'file'
greux:~tmp/wd1> svn commit -m add
Adding file
Transmitting file data .
Committed revision 1.
greux:~tmp/wd1> cd ..
greux:~tmp> svn co file:///home/lefevre/tmp/svn wd2
A wd2/file
Checked out revision 1.
greux:~tmp> cd wd1
greux:~tmp/wd1> svn ps svn:mime-type text/plain file
property 'svn:mime-type' set on 'file'
greux:~tmp/wd1> svn commit -m mime-type
Sending file

Committed revision 2.
greux:~tmp/wd1> cat file
$Id: file 2 2004-02-12 17:40:58Z lefevre $
greux:~tmp/wd1> cd ../wd2
greux:~tmp/wd2> svn up
 U file
Updated to revision 2.
greux:~tmp/wd2> cat file
$Id: file 1 2004-02-12 17:39:44Z lefevre $

-> The Id lines are different though both copies are up-to-date.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 12 18:44:34 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.