evolve: cleanup imports
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 28 Feb 2017 13:27:04 +0100
changeset 1823 649d7a574c3f
parent 1822 8cf82e55f48c
child 1824 542693605fe5
evolve: cleanup imports Just rearrange imports to a new/clearer style.
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)