Hi, I'm using a build about 10 days old, I'll get a chance to build
the latest this weekend. So feel free to ignore this :-)
Deleting a svn:keywords property and then reapplying it with the
identical command - with commits before, in the middle, and after -
is leaving the file with the '$whatevers$' in it in a different state
to before the delete-reapply. 
Surely this can't be right?
Here's the recipe:
        #
        #  Create repos and put file with keywords in,
        #  activate keywords and commit.
        #
        dione$ svnadmin create `pwd`/repos
        dione$ svn co file://`pwd`/repos -d wc
        Checked out revision 0.
        dione$ echo '$HeadURL$ $LastChangedRevision$' > wc/file
        dione$ svn add wc/file 
        A         wc/file
        dione$ svn ps svn:keywords 'HeadURL
	> LastChangedRevision' wc/file 
        property `svn:keywords' set on 'wc/file'
        dione$ svn pg svn:keywords wc/file
        HeadURL
        LastChangedRevision
        dione$ svn commit -m "" wc 
        Adding         wc/file
        Transmitting file data .
        Committed revision 1.
        
        #
        #  Examine the file: 1 keyword changed, 1 not!
        #
        dione$ cat wc/file 
        $HeadURL: $ $LastChangedRevision: 1 $       <------------------
        
        #
        #  Delete keywords, commit, re-add keywords
        #  and commit.
        #
        dione$ svn pdel svn:keywords wc/file
        property `svn:keywords' deleted  from 'wc/file'.
        dione$  svn commit -m "" wc
        Sending        wc/file
        Transmitting file data .
        Committed revision 2.
        dione$ echo '$HeadURL$ $LastChangedRevision$' > wc/file
        dione$ svn ps svn:keywords 'HeadURL
	> LastChangedRevision' wc/file
        property `svn:keywords' set on 'wc/file'
        dione$ svn commit -m "" wc
        Sending        wc/file
        Transmitting file data .
        Committed revision 3.
        
        #
        #  Examine the file: 2 keyword changed
        #
        dione$ cat wc/file 
        $HeadURL: file:///diskb/home/alexis/repos/file $ $LastChangedRevision: 3 $  <----------
Alexis
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 31 22:20:40 2002