--- a/mercurial/changelog.py Sat Aug 08 00:35:37 2015 -0700
+++ b/mercurial/changelog.py Sat Aug 08 00:26:49 2015 -0700
@@ -5,9 +5,21 @@
# 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 bin, hex, nullid
-from i18n import _
-import util, error, revlog, encoding
+from __future__ import absolute_import
+
+from .i18n import _
+from .node import (
+ bin,
+ hex,
+ nullid,
+)
+
+from . import (
+ encoding,
+ error,
+ revlog,
+ util,
+)
_defaultextra = {'branch': 'default'}