Mercurial > hg
diff hgext/eol.py @ 12974:75e4fade4ad9 stable
eol: exclude .hgtags file from eol translation (issue2493)
author | Colin Caughie <c.caughie@indigovision.com> |
---|---|
date | Sat, 13 Nov 2010 15:02:02 +0100 |
parents | c82cd7b08158 |
children | 793563fd88c0 20974e51383a |
line wrap: on
line diff
--- a/hgext/eol.py Thu Nov 11 02:10:37 2010 +0900 +++ b/hgext/eol.py Sat Nov 13 15:02:02 2010 +0100 @@ -176,6 +176,10 @@ self._decode['NATIVE'] = 'to-crlf' eol = config.config() + # Our files should not be touched. The pattern must be + # inserted first override a '** = native' pattern. + eol.set('patterns', '.hg*', 'BIN') + # We can then parse the user's patterns. eol.parse('.hgeol', data) if eol.get('repository', 'native') == 'CRLF':