# HG changeset patch # User Colin Caughie # Date 1289420816 0 # Node ID 278e3c9b939ed64666935aef35131508b8bbf13a # Parent 6e0a9f9227bdda28d61605f85d6bd2f653c87db8 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. diff --git a/hgext/eol.py b/hgext/eol.py --- a/hgext/eol.py +++ b/hgext/eol.py @@ -104,6 +104,9 @@ 'to-lf': tolf, 'to-crlf': tocrlf, 'is-binary': isbinary, + # The following provide backwards compatibility with win32text + 'cleverencode': tolf, + 'cleverdecode': tocrlf }