You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by C�dric Chabanois <ce...@entropysoft.net> on 2006/08/06 07:45:18 UTC
svn propdel with svn:keywords
Hi,
I already posted this on subversion user mailing list but with no success.
After using cvs2svn, I had some files with property "svn:keywords" set and I
want to remove this property on these files (some of these files are
binaries).
However, when I remove it using "svn pd", the property is removed but the
file content is changed on repository after commit : keywords are expanded
...
I don't want that, I just want to remove "svn:keywords" property ...
How can I solve this problem ? Is it a bug ?
Thank you
C�dric
Here is the recipe to reproduce this behaviour on windows :
I use "svn, version 1.3.2 (r19776)"
C:\>svnadmin create repos
C:\>svn co file:///c:/repos wc1
C:\>cd wc1
C:\wc1>echo $Id$ > test
C:\wc1>svn add test
C:\wc1>svn ps svn:keywords Id test
C:\wc1>svn commit test -m "added test"
C:\wc1>more test
$Id: test 1 2006-08-04 12:17:33Z cedric $
C:\wc1>svn cat file:///c:/repos/test
$Id: test 1 2006-08-04 12:17:33Z cedric $
All is ok, but I want to remove the keywords now :
C:\wc1>svn pd svn:keywords test
C:\wc1>svn ci -m "removed prop svn:keywords"
C:\wc1>more test
$Id: test 1 2006-08-04 12:17:33Z cedric $
C:\wc1>svn cat file:///c:/repos/test
$Id: test 1 2006-08-04 12:17:33Z cedric $
This time i don't agree : I just wanted to remove the svn:keywords, i did
not want that file in repository to be modified
I think svn cat would have reported "$Id$"
C:\wc1>svnlook cat -r 1 c:/repos test
$Id$
C:\wc1>svnlook cat -r 2 c:/repos test
$Id: test 1 2006-08-04 12:17:33Z cedric $
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: svn propdel with svn:keywords
Posted by David Glasser <gl...@mit.edu>.
On 8/6/06, Cédric Chabanois <ce...@entropysoft.net> wrote:
Hi Cedric. You'll get a hint about what's going on here if you stick
an "svn diff"...
> C:\wc1>svn pd svn:keywords test
... right here.
> C:\wc1>svn ci -m "removed prop svn:keywords"
Specifically, you'll see that your commit here is explicitly
committing the expansion.
There was a good discussion of this issue starting at
http://svn.haxx.se/dev/archive-2006-03/0710.shtml.
--dave
--
David Glasser | glasser@mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org