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

Re: question on enabling keywords

From: Jody Shumaker <jody.shumaker_at_gmail.com>
Date: 2006-05-05 16:13:00 CEST

On 5/4/06, Alexandra Stehman <astehman@ibistek.com> wrote:
>
>
>
> I am trying to enable keywords in SVN using TortoiseSVN. In attempting to
> enable keyword substitutions such as $Author$ and $Date$ in our source
> files, I edited the configuration file under the TortoiseSVN Settings to
> look like so:
>
>
>
> ### Automatic properties are defined in the section 'auto-props'.
>
>
>
> enable-auto-props = yes
>
>
>
> [auto-props]
>
> * = svn:keywords
>
>
>
> I then added keywords $Date$ and $Author$ into a file, committed it, updated
> it, and the keywords were not substituted.
>
>
>
> I am not our svn admin, so I am unsure if this is a configuration which must
> be set also on our repository on the server side.
>

I think you're missing a very important piece. Autoprops only apply
to new files, not existing files. You have to add the svn:keywords
property to all existing files you want it to apply to. Then you
would want the auto-props added to every users config before they add
any new files.

- Jody

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri May 5 16:17:46 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.