# HG changeset patch # User Gregory Szorc # Date 2015-08-09 03:11:56 # Node ID c6d049a5de436b21d992f011cd34b1e189262afd # Parent 89049011f30464df0097abfbad1d35e8278d7ed7 treediscovery: use absolute_import diff --git a/mercurial/treediscovery.py b/mercurial/treediscovery.py --- a/mercurial/treediscovery.py +++ b/mercurial/treediscovery.py @@ -5,10 +5,19 @@ # 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 -from node import nullid, short -from i18n import _ -import util, error + +from .i18n import _ +from .node import ( + nullid, + short, +) +from . import ( + error, + util, +) def findcommonincoming(repo, remote, heads=None, force=False): """Return a tuple (common, fetch, heads) used to identify the common