Mercurial > hg
comparison hgext/eol.py @ 16743:38caf405d010
hgext: mark all first-party extensions as such
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 15 May 2012 14:37:49 -0500 |
parents | 525fdb738975 |
children | 26dd532456cf |
comparison
equal
deleted
inserted
replaced
16742:973671fc0804 | 16743:38caf405d010 |
---|---|
91 """ | 91 """ |
92 | 92 |
93 from mercurial.i18n import _ | 93 from mercurial.i18n import _ |
94 from mercurial import util, config, extensions, match, error | 94 from mercurial import util, config, extensions, match, error |
95 import re, os | 95 import re, os |
96 | |
97 testedwith = 'internal' | |
96 | 98 |
97 # Matches a lone LF, i.e., one that is not part of CRLF. | 99 # Matches a lone LF, i.e., one that is not part of CRLF. |
98 singlelf = re.compile('(^|[^\r])\n') | 100 singlelf = re.compile('(^|[^\r])\n') |
99 # Matches a single EOL which can either be a CRLF where repeated CR | 101 # Matches a single EOL which can either be a CRLF where repeated CR |
100 # are removed or a LF. We do not care about old Machintosh files, so a | 102 # are removed or a LF. We do not care about old Machintosh files, so a |