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

Re: hook automating svn:keywords

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-04-30 18:10:26 CEST

On Fri, 2004-04-30 at 08:14, pachash wrote:
> Hello,
>
> Is it possible to write a hook that automatically sets
> svn:keywords property on certain type of files if there's no such
> property?

No, because hook scripts should not change committed data. See the FAQ
about this.

Instead, have your users use the 'auto-props' feature to do this. (See
chapter 7 about auto-props).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 30 18:14:38 2004

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.