hgext/eol.py
changeset 25186 80c5b2666a96
parent 24367 aba1916c1b23
child 25660 328739ea70c3
equal deleted inserted replaced
25185:bf6b476f3b36 25186:80c5b2666a96
    93 
    93 
    94 from mercurial.i18n import _
    94 from mercurial.i18n import _
    95 from mercurial import util, config, extensions, match, error
    95 from mercurial import util, config, extensions, match, error
    96 import re, os
    96 import re, os
    97 
    97 
       
    98 # Note for extension authors: ONLY specify testedwith = 'internal' for
       
    99 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
       
   100 # be specifying the version(s) of Mercurial they are tested with, or
       
   101 # leave the attribute unspecified.
    98 testedwith = 'internal'
   102 testedwith = 'internal'
    99 
   103 
   100 # Matches a lone LF, i.e., one that is not part of CRLF.
   104 # Matches a lone LF, i.e., one that is not part of CRLF.
   101 singlelf = re.compile('(^|[^\r])\n')
   105 singlelf = re.compile('(^|[^\r])\n')
   102 # Matches a single EOL which can either be a CRLF where repeated CR
   106 # Matches a single EOL which can either be a CRLF where repeated CR