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

EOL Check Hook Script?

From: Bob Proulx <bob_at_proulx.com>
Date: Mon, 9 Mar 2009 17:12:43 -0600

Does anyone have a hook script that they have already written that
will check that the eol convention hasn't changed with a commit and
will reject it if it has changed?

On a project I am working on in a mixed environment everyone has
agreed that setting the right eol convention in their editor is easily
done. But it is also easily forgotten too. If we had a hook script
to check for this case then it could prevent commit accidents. I am
aware of setting eol-style to native but since the working copy files
are different than the target files (e.g. md5sums, tarballs, etc.) I
would rather avoid doing it that way if possible.

Received on 2009-03-10 00:13:35 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.