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

[PATCH] pre-commit hook to disallow tab characters

From: Scott Lawrence <slawrence_at_pingtel.com>
Date: 2004-06-02 03:28:26 CEST

The attached is an svn diff output for a pre-commit hook script that
checks submitted files whose name ends in one of a specified set of
suffixs for tab characters, and rejects the commit if any are found.

It's also a pretty good example of how to build any sort of content
checker, and could be easily modified to check for such things as
copyright notices or trouble ticket numbers.

-- 
Scott Lawrence
Consulting Engineer
Pingtel Corp.   
sip:slawrence@pingtel.com
+1.781.938.5306 x162
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 2 03:28:43 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.