diff --git a/mercurial/graphmod.py b/mercurial/graphmod.py --- a/mercurial/graphmod.py +++ b/mercurial/graphmod.py @@ -17,11 +17,13 @@ context of the graph returned. Type is a Data depends on type. """ -from mercurial.node import nullrev -import util +from __future__ import absolute_import import heapq +from .node import nullrev +from . import util + CHANGESET = 'C' def groupbranchiter(revs, parentsfunc, firstbranch=()):