tagmerge: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 20:10:46 -0700
changeset 25981 fa91c49a9b9f
parent 25980 38c585c2f8cc
child 25982 b2f3f185e458
tagmerge: use absolute_import
mercurial/tagmerge.py
--- a/mercurial/tagmerge.py	Sat Aug 08 20:03:58 2015 -0700
+++ b/mercurial/tagmerge.py	Sat Aug 08 20:10:46 2015 -0700
@@ -71,11 +71,20 @@
 #         - put blocks whose nodes come all from p2 first
 #     - write the tag blocks in the sorted order
 
-import tags as tagsmod
-import util
-from node import nullid, hex
-from i18n import _
+from __future__ import absolute_import
+
 import operator
+
+from .i18n import _
+from .node import (
+    hex,
+    nullid,
+)
+from .import (
+    tags as tagsmod,
+    util,
+)
+
 hexnullid = hex(nullid)
 
 def readtagsformerge(ui, repo, lines, fn='', keeplinenums=False):