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

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

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-08-28 20:30:35 CEST

On Aug 28, 2007, at 13:26, Rex Zhen wrote:

> On Aug 28, 2007, at 12:00 AM, Ryan Schmidt wrote:
>
>> On Aug 27, 2007, at 12:56, Andy Levy wrote:
>>
>>> On 8/27/07, Rex Zhen wrote:
>>>
>>>> Is there any way i can set the default property to a project/folder
>>>> in svn repository? I can set the keywords property to folder or
>>>> individual file, but how can I make the keywords property set
>>>> to all
>>>> files there whenever the files or folder are created?
>>>
>>> http://svnbook.red-bean.com/en/1.4/
>>> svn.advanced.props.html#svn.advanced.props.auto
>>>
>>> Note that this is a client-side setting and therefore if one client
>>> isn't configured with these settings, they won't be applied to adds
>>> performed by that client; if you need to enforce this across your
>>> repository, install a pre-commit hook to verify that the required
>>> property values have been set.
>>
>> Note also that auto-props are for files only, and cannot be used
>> on directories.
>>
>> http://subversion.tigris.org/issues/show_bug.cgi?id=1989
>
> how if i set the property to *.*. does this work?

The text of the issue says "The auto-props config doesn't affect
directories, only files." You're welcome to experiment and see if you
can make it work somehow, but I'm led to believe that it will not work.

The issue does include a patch, however, to implement this feature.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 28 20:29:20 2007

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.