This can also be set on the server globally, at least on UNIX. I am not sure on Windows, but it is probably possible there too. Of course then it is set for all repositories/projects. You may set it by file type though, via extensions etc. Take a look in the manual, I can't remember the specifics.
KM
--- On Sun, 6/8/08, Steven Woody <narkewoody_at_gmail.com> wrote:
From: Steven Woody <narkewoody_at_gmail.com>
Subject: Re: Can I have a svn:keywords value set default to the whole project?
To: "Kevin Grover" <kevin_at_kevingrover.net>
Cc: users_at_subversion.tigris.org
Date: Sunday, June 8, 2008, 11:00 PM
On Mon, Jun 9, 2008 at 1:31 AM, Kevin Grover <kevin_at_kevingrover.net>
wrote:
> On Sun, Jun 8, 2008 at 1:33 AM, Steven Woody <narkewoody_at_gmail.com>
wrote:
>> I am surprised that I have to manually set svn:keywords on every new
>> file in my project? Is there a better method?
>>
>> Thanks.
>>
>> -
>> narke
>
> In short, no.
>
> You can edit the (per user) Subversion configuration and turn on
> auto-props. That will allow you have any added files automatically
> get whatever default properties you want.
>
> This is not an ideal solution because there's no way to associate this
> with a repository: it's a per-user setting - all users need to make
> sure their config (UNIX: ~/.subversion/config, Win:
> %APPDATA%\Subversion\config) file is edited correctly.
>
> On a per repository basis, you could add a pre-commit hook script that
> checks added files for required properties and refuses the commit if
> they are not present. This can help to keep things consistent, but I
> also think having the ability to set these by repository would be
> cleaner.
>
> - Kevin
>
Thank you. Hope the feature will be implemented in furthur subversion.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-09 16:10:50 CEST