Mercurial > hg
comparison hgext/win32text.py @ 6510:37ab2331b94c
win32text: actually import util so util.binary() can be used
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Thu, 10 Apr 2008 14:08:38 +0200 |
parents | 4b2c266bf059 |
children | f6c00b17387c |
comparison
equal
deleted
inserted
replaced
6509:5279848424e7 | 6510:37ab2331b94c |
---|---|
27 # pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf | 27 # pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf |
28 # # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr | 28 # # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr |
29 | 29 |
30 from mercurial.i18n import gettext as _ | 30 from mercurial.i18n import gettext as _ |
31 from mercurial.node import bin, short | 31 from mercurial.node import bin, short |
32 from mercurial import util | |
32 import re | 33 import re |
33 | 34 |
34 # regexp for single LF without CR preceding. | 35 # regexp for single LF without CR preceding. |
35 re_single_lf = re.compile('(^|[^\r])\n', re.MULTILINE) | 36 re_single_lf = re.compile('(^|[^\r])\n', re.MULTILINE) |
36 | 37 |