Mercurial > hg
changeset 29123:0e6b5a5aca22
py3: make hgext/graphlog.py use absolute_import
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 06 May 2016 21:48:17 +0530 |
parents | 660d8d4ec7aa |
children | 555ab813c237 |
files | hgext/graphlog.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/graphlog.py Sat May 07 19:59:30 2016 +0200 +++ b/hgext/graphlog.py Fri May 06 21:48:17 2016 +0530 @@ -15,8 +15,13 @@ revision graph is also shown. ''' +from __future__ import absolute_import + from mercurial.i18n import _ -from mercurial import cmdutil, commands +from mercurial import ( + cmdutil, + commands, +) cmdtable = {} command = cmdutil.command(cmdtable)
--- a/tests/test-check-py3-compat.t Sat May 07 19:59:30 2016 +0200 +++ b/tests/test-check-py3-compat.t Fri May 06 21:48:17 2016 +0530 @@ -8,7 +8,6 @@ hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import hgext/fsmonitor/pywatchman/pybser.py not using absolute_import hgext/gpg.py not using absolute_import - hgext/graphlog.py not using absolute_import hgext/hgcia.py not using absolute_import hgext/hgk.py not using absolute_import hgext/highlight/__init__.py not using absolute_import