[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: Mark Baker <mark_at_usefree.org>
Date: 2006-10-26 16:45:22 CEST

--- Gavin Lambert <gavinl@compacsort.com> wrote:
> 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>

Thanks, this is just what I was looking for!

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 26 16:46:20 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.