Mercurial > hg-stable
diff hgext/largefiles/lfcommands.py @ 29308:8c378a7d2aa6
py3: make largefiles/lfcommands.py use absolute_import
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Sat, 07 May 2016 15:44:46 +0200 |
parents | 814076f4ace3 |
children | 5ec25534ef4f |
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py Fri May 06 14:30:23 2016 +0200 +++ b/hgext/largefiles/lfcommands.py Sat May 07 15:44:46 2016 +0200 @@ -7,20 +7,38 @@ # GNU General Public License version 2 or any later version. '''High-level command function for lfconvert, plus the cmdtable.''' +from __future__ import absolute_import -import os, errno +import errno +import os import shutil -from mercurial import util, match as match_, hg, node, context, error, \ - cmdutil, scmutil, commands from mercurial.i18n import _ -from mercurial.lock import release -from hgext.convert import convcmd -from hgext.convert import filemap +from mercurial import ( + cmdutil, + commands, + context, + error, + hg, + lock, + match as match_, + node, + scmutil, + util, +) -import lfutil -import storefactory +from ..convert import ( + convcmd, + filemap, +) + +from . import ( + lfutil, + storefactory +) + +release = lock.release # -- Commands ----------------------------------------------------------