Mercurial > hg
changeset 28381:44ffbb2a4f59
record: use absolute_import
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 02 Mar 2016 21:38:32 +0000 |
parents | ad266834251b |
children | 27996f78a64c |
files | hgext/record.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/record.py Wed Mar 02 21:36:14 2016 +0000 +++ b/hgext/record.py Wed Mar 02 21:38:32 2016 +0000 @@ -6,10 +6,15 @@ # GNU General Public License version 2 or any later version. '''commands to interactively select changes for commit/qrefresh''' +from __future__ import absolute_import +from mercurial import ( + cmdutil, + commands, + error, + extensions, +) from mercurial.i18n import _ -from mercurial import cmdutil, commands, extensions -from mercurial import error cmdtable = {} command = cmdutil.command(cmdtable)
--- a/tests/test-check-py3-compat.t Wed Mar 02 21:36:14 2016 +0000 +++ b/tests/test-check-py3-compat.t Wed Mar 02 21:38:32 2016 +0000 @@ -58,7 +58,6 @@ hgext/patchbomb.py not using absolute_import hgext/purge.py not using absolute_import hgext/rebase.py not using absolute_import - hgext/record.py not using absolute_import hgext/share.py not using absolute_import hgext/transplant.py not using absolute_import hgext/win32mbcs.py not using absolute_import