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

svn propdel with svn:keywords

From: Cédric Chabanois <cedric.chabanois_at_entropysoft.net>
Date: 2006-08-06 09:45:18 CEST

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
Received on Sun Aug 6 10:15:31 2006

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.