Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changelog.py @ 25922:85f442747153
changelog: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Aug 2015 00:26:49 -0700 |
parents | dc1a49264628 |
children | 6f4a280298c1 |
line wrap: on
line diff
--- 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'}