eol: added filter aliases for backwards compatibility with win32text
This makes it possible to switch most win32text configurations (i.e. those
that use cleverencode and cleverdecode) to hgeol simply by disabling one and
enabling the other. Any rules found in repo-specific .hgeol files will be
appended to the configuration in .hgrc.
--- a/hgext/eol.py Sat Nov 13 11:58:51 2010 +0900
+++ b/hgext/eol.py Wed Nov 10 20:26:56 2010 +0000
@@ -104,6 +104,9 @@
'to-lf': tolf,
'to-crlf': tocrlf,
'is-binary': isbinary,
+ # The following provide backwards compatibility with win32text
+ 'cleverencode': tolf,
+ 'cleverdecode': tocrlf
}