# HG changeset patch # User Gregory Szorc # Date 2015-08-09 03:10:23 # Node ID 89049011f30464df0097abfbad1d35e8278d7ed7 # Parent 7eb357b5f77473cf3eac32750e0d26e86d0ef191 transaction: use absolute_import diff --git a/mercurial/transaction.py b/mercurial/transaction.py --- a/mercurial/transaction.py +++ b/mercurial/transaction.py @@ -11,9 +11,15 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from i18n import _ +from __future__ import absolute_import + import errno -import error, util + +from .i18n import _ +from . import ( + error, + util, +) version = 2