Mercurial > hg
diff hgext/largefiles/reposetup.py @ 29314:bde283a1ad1a
py3: make largefiles/reposetup.py use absolute_import
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Tue, 10 May 2016 15:04:22 +0200 |
parents | a75c9665ef06 |
children | cc497d2830b0 |
line wrap: on
line diff
--- 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