equal
deleted
inserted
replaced
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. |