# HG changeset patch # User Pierre-Yves David # Date 1497699688 -7200 # Node ID 7dc090faa8a4a10466a3d61905348288f7337244 # Parent bf1292c057ef9a740f7a5b126eb0cc9b0ebec7ce blackbox: minor code reordering The version declaration should come first in my opinion. This will help gather the command table with the config table. diff -r bf1292c057ef -r 7dc090faa8a4 hgext/blackbox.py --- 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 = {}