Mercurial > hg
comparison hgext/win32mbcs.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 | 588874c33b4d |
children | 844f72885fb9 |
comparison
equal
deleted
inserted
replaced
29204:ce2d81aafbae | 29205:a0939666b836 |
---|---|
47 from __future__ import absolute_import | 47 from __future__ import absolute_import |
48 | 48 |
49 import os | 49 import os |
50 import sys | 50 import sys |
51 | 51 |
52 from mercurial.i18n import _ | |
52 from mercurial import ( | 53 from mercurial import ( |
53 encoding, | 54 encoding, |
54 error, | 55 error, |
55 ) | 56 ) |
56 from mercurial.i18n import _ | |
57 | 57 |
58 # Note for extension authors: ONLY specify testedwith = 'internal' for | 58 # Note for extension authors: ONLY specify testedwith = 'internal' for |
59 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should | 59 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should |
60 # be specifying the version(s) of Mercurial they are tested with, or | 60 # be specifying the version(s) of Mercurial they are tested with, or |
61 # leave the attribute unspecified. | 61 # leave the attribute unspecified. |