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

pre-commit hook for eol-style property

From: mfs <farhan.sarwar_at_gmail.com>
Date: Tue, 25 Mar 2008 14:58:27 -0700 (PDT)

Guys,

Looking for a script (to be invoked on pre-commit hook) which checks wheter
the svn:eol-style property is set, reject the commit with an error message
if not.

I do see a check-mime-type.pl script which checks for the mime-type property
and for files with svn:mime-type = text/*... it ensures that for such files
the svn:eol-style property is set too, now since we are not really accessing
our repository for the browser i wouldnt want to set this mime-type property
for all the different types, unless their is some other gain to setting the
mime-type..

Thanks in advance and Regards,

-- 
View this message in context: http://www.nabble.com/pre-commit-hook-for-eol-style-property-tp16289620p16289620.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-25 22:58:49 CET

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.