diff hgext/largefiles/__init__.py @ 29306:83cecc0b991f

py3: make largefiles/__init__.py use absolute_import
author liscju <piotr.listkiewicz@gmail.com>
date Fri, 06 May 2016 14:28:32 +0200
parents c065e0ec13d1
children d5883fd055c6
line wrap: on
line diff
--- 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