Mercurial > hg
changeset 12979:733345a127ca
eol: fix win32text encode/decode filter names
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 13 Nov 2010 15:46:51 +0100 |
parents | 5ac9c903e7d2 |
children | df7c2f81afd5 |
files | hgext/eol.py |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 }