# HG changeset patch # User Gregory Szorc # Date 1439018809 25200 # Node ID 85f442747153748efc7f085df53e52a459179fd2 # Parent 74b303a637bc2b4d98fe736040a350f63a1cf9e4 changelog: use absolute_import diff -r 74b303a637bc -r 85f442747153 mercurial/changelog.py --- 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'}