Mercurial > hg
comparison hgext/convert/convcmd.py @ 29205:a0939666b836
py3: move up symbol imports to enforce import-checker rules
Since (b) is banned, we should do the same for (a) for consistency.
a) from mercurial import hg
from mercurial.i18n import _
b) from . import hg
from .i18n import _
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 14 May 2016 14:03:12 +0900 |
parents | b65966f50058 |
children | d1a0a64f6e16 |
comparison
equal
deleted
inserted
replaced
29204:ce2d81aafbae | 29205:a0939666b836 |
---|---|
8 | 8 |
9 import os | 9 import os |
10 import shlex | 10 import shlex |
11 import shutil | 11 import shutil |
12 | 12 |
13 from mercurial.i18n import _ | |
13 from mercurial import ( | 14 from mercurial import ( |
14 encoding, | 15 encoding, |
15 error, | 16 error, |
16 hg, | 17 hg, |
17 util, | 18 util, |
18 ) | 19 ) |
19 from mercurial.i18n import _ | |
20 | 20 |
21 from . import ( | 21 from . import ( |
22 bzr, | 22 bzr, |
23 common, | 23 common, |
24 cvs, | 24 cvs, |