--- a/hgext/largefiles/__init__.py Sat Jun 04 16:53:44 2016 +0200
+++ b/hgext/largefiles/__init__.py Fri May 06 14:28:32 2016 +0200
@@ -104,14 +104,20 @@
explicitly do so with the --large flag passed to the :hg:`add`
command.
'''
+from __future__ import absolute_import
-from mercurial import hg, localrepo
+from mercurial import (
+ hg,
+ localrepo,
+)
-import lfcommands
-import proto
-import reposetup
-import uisetup as uisetupmod
-import overrides
+from . import (
+ lfcommands,
+ overrides,
+ proto,
+ reposetup,
+ uisetup as uisetupmod,
+)
# Note for extension authors: ONLY specify testedwith = 'internal' for
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
--- a/tests/test-check-py3-compat.t Sat Jun 04 16:53:44 2016 +0200
+++ b/tests/test-check-py3-compat.t Fri May 06 14:28:32 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/__init__.py not using absolute_import
hgext/largefiles/basestore.py not using absolute_import
hgext/largefiles/lfcommands.py not using absolute_import
hgext/largefiles/lfutil.py not using absolute_import