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

mime-type check pre-commit hook

From: Tom Brown <tdbrown_at_uiuc.edu>
Date: 2004-12-30 02:05:17 CET

Like several other users, I had problems with the default eol handling
with subversion 1.0 when Windows and UNIX users edited the same file.
http://svn.haxx.se/users/archive-2003-12/0062.shtml
suggests a (Python) pre-commit hook to check the mime-type and
eol-style before accepting a commit. I couldn't find anything to do it
in the distribution so I adapted commit-access-control.pl to this
purpose. Perhaps you could include this script as an example hook?

Tom

-- 
Tom Brown   tdbrown@uiuc.edu   Siebel Center 2107   +1 (217) 778-7908


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Dec 30 11:50:12 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.