comparison hgext/relink.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 ad266834251b
children d5883fd055c6
comparison
equal deleted inserted replaced
29204:ce2d81aafbae 29205:a0939666b836
9 from __future__ import absolute_import 9 from __future__ import absolute_import
10 10
11 import os 11 import os
12 import stat 12 import stat
13 13
14 from mercurial.i18n import _
14 from mercurial import ( 15 from mercurial import (
15 cmdutil, 16 cmdutil,
16 error, 17 error,
17 hg, 18 hg,
18 util, 19 util,
19 ) 20 )
20 from mercurial.i18n import _
21 21
22 cmdtable = {} 22 cmdtable = {}
23 command = cmdutil.command(cmdtable) 23 command = cmdutil.command(cmdtable)
24 # Note for extension authors: ONLY specify testedwith = 'internal' for 24 # Note for extension authors: ONLY specify testedwith = 'internal' for
25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should 25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should