mercurial/discovery.py
changeset 25944 337d010f31e6
parent 24702 2b0449255800
child 26585 b38d93735a4f
--- a/mercurial/discovery.py	Sat Aug 08 19:05:28 2015 -0700
+++ b/mercurial/discovery.py	Sat Aug 08 19:07:11 2015 -0700
@@ -5,10 +5,23 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from node import nullid, short
-from i18n import _
-import util, setdiscovery, treediscovery, phases, obsolete, bookmarks
-import branchmap
+from __future__ import absolute_import
+
+from .i18n import _
+from .node import (
+    nullid,
+    short,
+)
+
+from . import (
+    bookmarks,
+    branchmap,
+    obsolete,
+    phases,
+    setdiscovery,
+    treediscovery,
+    util,
+)
 
 def findcommonincoming(repo, remote, heads=None, force=False):
     """Return a tuple (common, anyincoming, heads) used to identify the common