Mercurial > public > mercurial-scm > hg-stable
diff mercurial/setdiscovery.py @ 25973:fb5664eb8414
setdiscovery: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 19:53:25 -0700 |
parents | 4d77e89652ad |
children | 56b2bcea2529 |
line wrap: on
line diff
--- 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