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

svn mv looses latest properties

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-11-08 08:15:32 CET

I just opened ticket #976 on this, but I'm posting here in the hopes
of a speedy fix :)

The following recipe results in a file having an old value of the
svn:mime-type property after a svn mv.

rm -fr repos r
svnadmin create repos
svn co file:///`pwd`/repos r
cd r
dd if=/dev/urandom of=group.gif bs=1024 count=1
svn add group.gif
svn ps svn:mime-type application/octet-stream group.gif
svn ci -F /dev/null
svn pl -v group.gif
svn ps svn:mime-type image/gif group.gif
svn ci -F /dev/null
svn pl -v group.gif
svn mv group.gif ggg.gif
svn ci -F /dev/null
svn pl -v ggg.gif

If you go back to revision 2, then it has the correct value:

cd r
svn update -r 2
svn pl -v group.gif

it'll show image/gif.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 8 08:15:38 2002

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.