# HG changeset patch # User Gregory Szorc # Date 2015-08-09 02:03:34 # Node ID a75cda2dfc19d6abf31fcec4490aa90d12f5afa0 # Parent f4356e5094bab7571a7ec9081b64ebbac3497957 dagparser: use absolute_import diff --git a/mercurial/dagparser.py b/mercurial/dagparser.py --- a/mercurial/dagparser.py +++ b/mercurial/dagparser.py @@ -5,9 +5,13 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -import re, string -import util -from i18n import _ +from __future__ import absolute_import + +import re +import string + +from .i18n import _ +from . import util def parsedag(desc): '''parses a DAG from a concise textual description; generates events