# HG changeset patch # User Gregory Szorc # Date 1439088805 25200 # Node ID fb5664eb8414fee21d7ad87fd246706ae0a0e1f8 # Parent f279191124f3f4e5576898219443c8ea64ca0b3a setdiscovery: use absolute_import diff -r f279191124f3 -r fb5664eb8414 mercurial/setdiscovery.py --- 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