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

Re: set 'keywords' property automatically on new files

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-06-20 12:18:01 CEST

On Jun 20, 2006, at 12:09, Xavier MOGHRABI wrote:

> I would like to set svn:keywords property automatically when a user
> commit a
> added or imported file. Is is possible to allow it on the server
> side ?

No, it's not possible. Auto-props is a client-side thing.

> Actually, I configure "enable-auto-props = yes" in my ~/.subversion/
> config
> with the needed autoprops.
>
> However this is not efficient because some committers forget to set
> their
> environement. I need to force the server to add the properties. Do
> you know
> how can I do that ?

You should write a pre-commit hook which rejects commits that do not
conform to your auto-props policy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 20 12:19:55 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.