changeset 25942:015ded095933

dagutil: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:04:09 -0700
parents a75cda2dfc19
children 3beed01daff9
files mercurial/dagutil.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dagutil.py	Sat Aug 08 19:03:34 2015 -0700
+++ b/mercurial/dagutil.py	Sat Aug 08 19:04:09 2015 -0700
@@ -6,9 +6,10 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from node import nullrev
-from i18n import _
+from __future__ import absolute_import
 
+from .i18n import _
+from .node import nullrev
 
 class basedag(object):
     '''generic interface for DAGs