On Wed, Jul 29, 2009 at 1:21 PM, Kenneth Goldman <kgoldman_at_us.ibm.com>wrote:
> For my file header, I have:
>
> svn:keywords Date Author Id Rev DateLastChanged
>
> It seems like every time I "svn add" a new file, I have to remember to
> run 'svn propset'. Is there any way to set this for the entire project
> such that each new file implicitly inherits the property.
>
> I use Windows and Linux, so a command line or Tortoise
> solution will work.
>
>
This can be done by setting the auto-props in the client configuration file.
(This is per client, not per project).
http://svnbook.red-bean.com/en/1.5/svn.advanced.confarea.html#svn.advanced.confarea.opts.config
http://svnbook.red-bean.com/en/1.5/svn.advanced.props.html#svn.advanced.props.auto
You have to set the enable-auto-props property under miscellany section to
yes. And then in the auto-props section, you map what files get what
properties -- for example, you want to restrict setting these keywords to
text files only and not binary files
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2376709
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-29 22:39:52 CEST