You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by pachash <pa...@yandex.ru> on 2004/04/30 13:14:40 UTC
hook automating svn:keywords
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?
--
Best regards,
pacha
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: hook automating svn:keywords
Posted by Ben Collins-Sussman <su...@collab.net>.
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