--- a/hgext/relink.py Wed Mar 02 21:33:55 2016 +0000
+++ b/hgext/relink.py Wed Mar 02 21:36:14 2016 +0000
@@ -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)
--- a/tests/test-check-py3-compat.t Wed Mar 02 21:33:55 2016 +0000
+++ b/tests/test-check-py3-compat.t Wed Mar 02 21:36:14 2016 +0000
@@ -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