diff --git a/hgext/relink.py b/hgext/relink.py --- a/hgext/relink.py +++ b/hgext/relink.py @@ -6,10 +6,18 @@ # GNU General Public License version 2 or any later version. """recreates hardlinks between repository clones""" +from __future__ import absolute_import -from mercurial import cmdutil, hg, util, error +import os +import stat + +from mercurial import ( + cmdutil, + error, + hg, + util, +) from mercurial.i18n import _ -import os, stat cmdtable = {} command = cmdutil.command(cmdtable) diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -59,7 +59,6 @@ hgext/purge.py not using absolute_import hgext/rebase.py not using absolute_import hgext/record.py not using absolute_import - hgext/relink.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