eol: fix win32text encode/decode filter names
authorMartin Geisler <mg@lazybytes.net>
Sat, 13 Nov 2010 15:46:51 +0100
changeset 12979 733345a127ca
parent 12978 5ac9c903e7d2
child 12981 df7c2f81afd5
eol: fix win32text encode/decode filter names
hgext/eol.py
--- a/hgext/eol.py	Sat Nov 13 15:20:37 2010 +0100
+++ b/hgext/eol.py	Sat Nov 13 15:46:51 2010 +0100
@@ -61,6 +61,11 @@
   Such files are normally not touched under the assumption that they
   have mixed EOLs on purpose.
 
+The extension provides ``cleverencode:`` and ``cleverdecode:`` filters
+like the deprecated win32text extension does. This means that you can
+disable win32text and enable eol and your filters will still work. You
+only need to these filters until you have prepared a ``.hgeol`` file.
+
 See :hg:`help patterns` for more information about the glob patterns
 used.
 """
@@ -105,8 +110,8 @@
     'to-crlf': tocrlf,
     'is-binary': isbinary,
     # The following provide backwards compatibility with win32text
-    'cleverencode': tolf,
-    'cleverdecode': tocrlf
+    'cleverencode:': tolf,
+    'cleverdecode:': tocrlf
 }