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

RE: Accepting / rejecting commits based on text embedded in the file

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-10-19 03:13:54 CEST

Quoth Mark Baker <mailto:mark@usefree.org>:
> Is it possible for SVN to check whether a file that is being
> added or modified contains a certain string (such as a
> copyright statement, license, or VIM modlines) and based on
> that to either accept or reject the commit?

I believe so, yes -- using a precommit hook script.

<http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.r
eposadmin.create.hooks>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 19 03:14:49 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.