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

5033: property lost on renamed file

From: Alexis Huxley <ahuxley_at_gmx.net>
Date: 2003-02-23 16:32:12 CET

Hi,

I've built 5033. I've retrieved a working copy, and files on which
I had attached svn:keywords properties *and* renamed the files (and
committed) have lost the property.

I looked on issues, but didn't find anything that matched this. I
presume this *is* the wrong behaviour though, right?

Recipe below.

Alexis

# Create repos
leda$ svnadmin create `pwd`/repos
leda$ svn co file://`pwd`/repos wc
Checked out revision 0.

# Add a file and some properties
leda$ echo '$HeadURL$ $LastChangedRevision$' > wc/newfile
leda$ svn add wc/newfile
A wc/newfile
leda$ svn pset svn:keywords 'HeadURL
LastChangedRevision
' wc/newfile
property `svn:keywords' set on 'wc/newfile'

# Commit
leda$ svn commit -m "blah" wc
Adding wc/newfile
Transmitting file data .
Committed revision 1.

# Rename a file
leda$ svn mv wc/newfile wc/newfile2
A wc/newfile2
D wc/newfile

# Commit
leda$ svn commit -m "blah" wc
Deleting wc/newfile
Adding wc/newfile2

Committed revision 2.

# Blast and recreate wc
leda$ rm -fr wc
leda$ svn co file://`pwd`/repos wc
A wc/newfile2
Checked out revision 2.

# Examine
leda$ cat wc/newfile2
$HeadURL: $ $LastChangedRevision: $
leda$

-- end --

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 23 16:33:02 2003

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.