graphmod: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:18:23 -0700
changeset 25951 69751804f2f5
parent 25950 175873e36d03
child 25952 f0ad094db832
graphmod: use absolute_import
mercurial/graphmod.py
--- a/mercurial/graphmod.py	Sat Aug 08 19:17:40 2015 -0700
+++ b/mercurial/graphmod.py	Sat Aug 08 19:18:23 2015 -0700
@@ -17,11 +17,13 @@
 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=()):