mercurial/tagmerge.py
changeset 25981 fa91c49a9b9f
parent 23139 e53f6b72a0e4
child 31415 5d92107dfb9b
--- 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):