##// END OF EJS Templates
crecord: fix some import style
Matt Mackall -
r24313:ed535f2c default
parent child Browse files
Show More
@@ -8,18 +8,9 b''
8 # This code is based on the Mark Edgington's crecord extension.
8 # This code is based on the Mark Edgington's crecord extension.
9 # (Itself based on Bryan O'Sullivan's record extension.)
9 # (Itself based on Bryan O'Sullivan's record extension.)
10
10
11 from mercurial.i18n import _
11 from i18n import _
12
12 import patch as patchmod
13 from mercurial import patch as patchmod
13 import util, encoding
14 from mercurial import util
15 from mercurial import demandimport
16 demandimport.ignore.append('mercurial.encoding')
17 try:
18 import mercurial.encoding as encoding
19 code = encoding.encoding
20 except ImportError:
21 encoding = util
22 code = encoding._encoding
23
14
24 import os
15 import os
25 import re
16 import re
General Comments 0
You need to be logged in to leave comments. Login now