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

Re: Running svn propset after svn add

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Wed, 29 Jul 2009 13:38:51 -0700

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

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.