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

Re: Removing property from repository for all files

From: Mark Parker <mark_at_msdhub.com>
Date: 2005-04-29 20:08:05 CEST

rds wrote:
> Hi,
>
> Moved cvs repository to svn and discovered that all/many of our source files
> contain "svn:keywords" property:
>
> # svn propget "svn:keywords" Test.java
> Author Date Id Revision
>
> Perhaps it does make a lot of sense for us to set "svn:keywords" on each file
> (since it's always the same). So, we'd like to remove/clear "svn:keywords" from
> *all files* in the repository and set "enable-auto-props = yes" in the
> /etc/subversion instead.
>
> What would be the best way to do that?
>
> Thanks in advance

The answers given already are likely correct ways to remove properties
recursively, but I think there's one fairly major thing that is being
overlooked here.

Auto-props aren't a SUBSTITUTION for having properties set on files,
they're a way to AUTOMATICALLY have properties set on files when they're
added.

If you take the svn:keywords property off of a file, then it won't have
keyword expansion enabled, regardless of what is in your /etc/subversion
configuration file.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 29 20:15:08 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.