diff -r 0ccab84f9630 -r bde283a1ad1a hgext/largefiles/reposetup.py --- a/hgext/largefiles/reposetup.py Tue May 10 15:00:22 2016 +0200 +++ b/hgext/largefiles/reposetup.py Tue May 10 15:04:22 2016 +0200 @@ -7,14 +7,23 @@ # GNU General Public License version 2 or any later version. '''setup for largefiles repositories: reposetup''' +from __future__ import absolute_import + import copy -from mercurial import error, match as match_, error from mercurial.i18n import _ -from mercurial import scmutil, localrepo -import lfcommands -import lfutil +from mercurial import ( + error, + localrepo, + match as match_, + scmutil, +) + +from . import ( + lfcommands, + lfutil, +) def reposetup(ui, repo): # wire repositories should be given new wireproto functions