# HG changeset patch # User Pierre-Yves David # Date 1488284824 -3600 # Node ID 649d7a574c3f952958dbd15a92ee6593a4f51185 # Parent 8cf82e55f48c66abf94f4be08834e9971b3c291c evolve: cleanup imports Just rearrange imports to a new/clearer style. diff -r 8cf82e55f48c -r 649d7a574c3f hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Tue Feb 28 17:27:44 2017 +0100 +++ b/hgext3rd/evolve/__init__.py Tue Feb 28 13:27:04 2017 +0100 @@ -92,31 +92,34 @@ # Flags for enabling optional parts of evolve commandopt = 'allnewcommands' -from mercurial import bookmarks as bookmarksmod -from mercurial import cmdutil -from mercurial import commands -from mercurial import context -from mercurial import copies -from mercurial import error -from mercurial import exchange -from mercurial import extensions -from mercurial import help -from mercurial import httppeer -from mercurial import hg -from mercurial import lock as lockmod -from mercurial import merge -from mercurial import node -from mercurial import phases -from mercurial import patch -from mercurial import revset -from mercurial import scmutil -from mercurial import templatekw +from mercurial import ( + bookmarks as bookmarksmod, + cmdutil, + commands, + context, + copies, + error, + exchange, + extensions, + help, + hg, + httppeer, + localrepo, + lock as lockmod, + merge, + node, + patch, + phases, + revset, + scmutil, + templatekw, + wireproto +) + +from mercurial.commands import walkopts, commitopts, commitopts2, mergetoolopts +from mercurial.hgweb import hgweb_mod from mercurial.i18n import _ -from mercurial.commands import walkopts, commitopts, commitopts2, mergetoolopts from mercurial.node import nullid -from mercurial import wireproto -from mercurial import localrepo -from mercurial.hgweb import hgweb_mod cmdtable = {} command = cmdutil.command(cmdtable)