changeset 25951:69751804f2f5

graphmod: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:18:23 -0700
parents 175873e36d03
children f0ad094db832
files mercurial/graphmod.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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=()):