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

Properties are not reset after svn delete + svn add?

From: Rudolf Cejka <cejkar_at_fit.vutbr.cz>
Date: 2007-01-23 17:17:01 CET

Hello,
  I have a small problem with subversion 1.4.2, when doing
something like this:

$ touch script.sh
$ chmod +x script.sh $ Create script.sh with executable flag

$ svn add script.sh
$ svn proplist script.sh
Properties on 'script.sh':
  svn:executable # Automatically added executable property

$ svn commit -m "" script.sh
$ svn proplist script.sh
Properties on 'script.sh':
  svn:executable # Executable property is still here

$ svn delete script.sh # Now file is deleted without a commit... (1)
$ svn proplist script.sh # ... but properties still do exist
Properties on 'script.sh':
  svn:executable

$ touch script.sh # File is recreated and readded without...
$ svn add script.sh # ... executable flag
$ svn proplist script.sh
Properties on 'script.sh': # ... but properties are still here
  svn:executable

$ svn commit -m "" script.sh # (2)
$ svn proplist script.sh # And now properties are missing!

I tried the same situation with property added by hand (named "test"), but
with the same result. I think that there are two possible solutions: Either
delete properties with svn delete (1), or leave the properties after
svn commit (2), as they are listed by svn proplist just before this command.
The current behavior is somewhat confusing and looks like a bug - should I
fill a bug report?

PS: I'm not in the users@ list, so please do cc: to me too, thanks.

-- 
Rudolf Cejka <cejkar at fit.vutbr.cz> http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 23 17:26:06 2007

This is an archived mail posted to the Subversion Users mailing list.