# Re: how to set keywords property as default whenever file is created

From: Rex Zhen <rexzhen_at_yahoo.com>
Date: 2007-08-28 21:59:08 CEST

I changed the config file.
1. comment out the enable-auto-props=yes
2. under [auto-props]
*.pl = svn:keywords = Id

when I go back check the svn file, it did not work.

On Aug 28, 2007, at 11:53 AM, Andy Levy wrote:

> On 8/28/07, Rex Zhen <rexzhen@yahoo.com> wrote:
>>
>> Thank you for your quick response.
>> All of the users here use eclipse and tortoiseSVN. How can I make
>> this happen to all users.
>
> Update everyone's %APPDATA%\Subversion\config file to take care of
> TSVN (and the Win32 svn command-line client). Eclipse by default uses
> the same, I believe (assuming they're using Subclipse), but the user
> is able to change this. For *NIX users, it'll be ~/.subversion/config
>
> In all cases, the user can go back and change that configuration after
> you've "fixed" it for them.
>
> Which is why I stated in my original reply that if you need to enforce
> this strictly, you need to install a pre-commit hook to reject any
> commit which doesn't meet your requirements for properties.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org