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

Bug: properties lost in working copy after a rm, mv and ci

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2007-04-05 17:59:28 CEST

The following bug occurs with Subversion 1.4.2 and 1.4.3 at least:

vin:~tmp> svnadmin create svn
vin:~tmp> svn co file://`pwd`/svn wc
Checked out revision 0.
vin:~tmp> cd wc
vin:~tmp/wc> touch foo bar
vin:~tmp/wc> svn add foo bar
A foo
A bar
vin:~tmp/wc> svn ps svn:mime-type text/plain foo bar
property 'svn:mime-type' set on 'foo'
property 'svn:mime-type' set on 'bar'
vin:~tmp/wc> svn ci -m 'add'
Adding bar
Adding foo
Transmitting file data ..
Committed revision 1.
vin:~tmp/wc> svn pl -v foo bar
Properties on 'foo':
  svn:mime-type : text/plain
Properties on 'bar':
  svn:mime-type : text/plain
vin:~tmp/wc> svn rm foo
D foo
vin:~tmp/wc> svn mv bar foo
A foo
D bar
vin:~tmp/wc> svn pl -v foo
Properties on 'foo':
  svn:mime-type : text/plain
vin:~tmp/wc> svn ci -m 'rm and move'
Deleting bar
Replacing foo

Committed revision 2.
vin:~tmp/wc> svn pl -v foo
vin:~tmp/wc>

Note: the properties are lost in the working copy only, because
if I do a checkout, I get them back:

Properties on 'foo':
  svn:mime-type : text/plain

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 5 17:59:58 2007

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.