blackbox: minor code reordering
The version declaration should come first in my opinion. This will help gather
the command table with the config table.
--- a/hgext/blackbox.py Sun Jun 18 19:52:54 2017 +0200
+++ b/hgext/blackbox.py Sat Jun 17 13:41:28 2017 +0200
@@ -49,13 +49,15 @@
util,
)
-cmdtable = {}
-command = registrar.command(cmdtable)
# Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
# extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
# be specifying the version(s) of Mercurial they are tested with, or
# leave the attribute unspecified.
testedwith = 'ships-with-hg-core'
+
+cmdtable = {}
+command = registrar.command(cmdtable)
+
lastui = None
filehandles = {}