mercurial/setdiscovery.py
changeset 25973 fb5664eb8414
parent 25914 4d77e89652ad
child 26587 56b2bcea2529
--- a/mercurial/setdiscovery.py	Sat Aug 08 19:58:05 2015 -0700
+++ b/mercurial/setdiscovery.py	Sat Aug 08 19:53:25 2015 -0700
@@ -40,11 +40,20 @@
 classified with it (since all ancestors or descendants will be marked as well).
 """
 
+from __future__ import absolute_import
+
 import collections
-from node import nullid, nullrev
-from i18n import _
 import random
-import util, dagutil
+
+from .i18n import _
+from .node import (
+    nullid,
+    nullrev,
+)
+from . import (
+    dagutil,
+    util,
+)
 
 def _updatesample(dag, nodes, sample, quicksamplesize=0):
     """update an existing sample to match the expected size