hbisect: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:22:11 -0700
changeset 25952 f0ad094db832
parent 25951 69751804f2f5
child 25953 d15b279ddade
hbisect: use absolute_import
mercurial/hbisect.py
--- a/mercurial/hbisect.py	Sat Aug 08 19:18:23 2015 -0700
+++ b/mercurial/hbisect.py	Sat Aug 08 19:22:11 2015 -0700
@@ -8,12 +8,20 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
+from __future__ import absolute_import
+
 import collections
 import os
-import error
-from i18n import _
-from node import short, hex
-import util
+
+from .i18n import _
+from .node import (
+    hex,
+    short,
+)
+from . import (
+    error,
+    util,
+)
 
 def bisect(changelog, state):
     """find the next node (if any) for testing during a bisect search.