hgext/win32text.py
changeset 6212 e75aab656f46
parent 6211 f89fd07fc51d
child 6247 7f4257b5cbfc
equal deleted inserted replaced
6211:f89fd07fc51d 6212:e75aab656f46
    20 # To do the same check on a server to prevent CRLF from being pushed or pulled:
    20 # To do the same check on a server to prevent CRLF from being pushed or pulled:
    21 #
    21 #
    22 # [hooks]
    22 # [hooks]
    23 # pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
    23 # pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
    24 
    24 
    25 from mercurial import util, ui
       
    26 from mercurial.i18n import gettext as _
    25 from mercurial.i18n import gettext as _
    27 from mercurial.node import bin, short
    26 from mercurial.node import bin, short
    28 import re
    27 import re
    29 
    28 
    30 # regexp for single LF without CR preceding.
    29 # regexp for single LF without CR preceding.