# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1462551497 -19800 # Node ID 0e6b5a5aca2266e5750e386f133a5eb232b233bc # Parent 660d8d4ec7aa25ec750fab8f4308532e3ebb8f8e py3: make hgext/graphlog.py use absolute_import diff -r 660d8d4ec7aa -r 0e6b5a5aca22 hgext/graphlog.py --- 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) diff -r 660d8d4ec7aa -r 0e6b5a5aca22 tests/test-check-py3-compat.t --- 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