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

Re: svn:keywords - turn on by default

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-08-13 21:30:20 CEST

On Aug 13, 2006, at 10:10 AM, Andreas Guther wrote:

> Hi,
>
> I am unlucky in finding information on how to turn on per default the
> svn:keywords properties.
>
> So far all I can find and do is to either set the svn:keywords
> properties on a per file basis or recursively. I rather would like to
> tell the svn server to set the keywords per default and turn it off
> manually where needed.
>
> We have a standard header for our source files with different SVN
> keywords. But very often developers forget to turn set the properties
> for a new file. From time to time we then set the keywords
> recursively
> on the source tree but that results in a forced change/commit of all
> files.
>
> Is there a way to set the svn:keywords per default on the SVN server
> (implicit) rather than on a manual basis (explicit)?
>
> Thanks in advance for any help.
>
> Andreas

One of the reasons this is not done is for binary assets. You
wouldn't want a keyword replacement to automatically be done on a
shared library or image that randomly happened to contain any of the
keywords, which would break the file.

Use the svn_apply_autoprops.py script to run it across a working copy.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 13 21:31:37 2006

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.