--- a/hgext/largefiles/uisetup.py Tue May 10 15:04:22 2016 +0200
+++ b/hgext/largefiles/uisetup.py Tue May 10 15:14:41 2016 +0200
@@ -7,14 +7,36 @@
# GNU General Public License version 2 or any later version.
'''setup for largefiles extension: uisetup'''
+from __future__ import absolute_import
-from mercurial import archival, cmdutil, commands, extensions, filemerge, hg, \
- httppeer, merge, scmutil, sshpeer, wireproto, subrepo, copies, exchange
from mercurial.i18n import _
-from mercurial.hgweb import hgweb_mod, webcommands
+
+from mercurial.hgweb import (
+ hgweb_mod,
+ webcommands,
+)
-import overrides
-import proto
+from mercurial import (
+ archival,
+ cmdutil,
+ commands,
+ copies,
+ exchange,
+ extensions,
+ filemerge,
+ hg,
+ httppeer,
+ merge,
+ scmutil,
+ sshpeer,
+ subrepo,
+ wireproto,
+)
+
+from . import (
+ overrides,
+ proto,
+)
def uisetup(ui):
# Disable auto-status for some commands which assume that all
--- a/tests/test-check-py3-compat.t Tue May 10 15:04:22 2016 +0200
+++ b/tests/test-check-py3-compat.t Tue May 10 15:14:41 2016 +0200
@@ -10,7 +10,6 @@
hgext/fsmonitor/pywatchman/pybser.py not using absolute_import
hgext/highlight/__init__.py not using absolute_import
hgext/highlight/highlight.py not using absolute_import
- hgext/largefiles/uisetup.py not using absolute_import
hgext/largefiles/wirestore.py not using absolute_import
hgext/share.py not using absolute_import
hgext/win32text.py not using absolute_import