cr/lf precommit hook, how to configure include/exclude filter ?

Baptiste Lepilleur blep at users.sourceforge.net
Tue Jul 1 07:32:06 UTC 2008


Hi all, I'm getting started with mercurial on Windows, and I'm looking at the cr/lf precommit hook, but I'm at lost on how to configure it.

How do you configure python:hgext.win32text.forbidcrlf to indicates that source files (*.cpp, *.h) must be in unix format, but that visual studio workspace (*.dsw) must be in DOS format so that I can use the same sandbox from both unix and windows ?

---
Baptiste Lepilleur <blep at users.sourceforge.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080701/d3b59d98/attachment-0001.html>


More information about the Mercurial mailing list