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

Accepting / rejecting commits based on text embedded in the file

From: Mark Baker <mark_at_usefree.org>
Date: 2006-10-19 02:58:10 CEST


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’m working on an Free/Open Source project for which it is imperative that the license statement
remain intact, and I would like to use such an enforcement feature if it is available in SVN.

Thanks for your help,

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