# HG changeset patch # User Pierre-Yves David # Date 2017-06-17 11:41:28 # 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 --git a/hgext/blackbox.py b/hgext/blackbox.py --- a/hgext/blackbox.py +++ b/hgext/blackbox.py @@ -49,13 +49,15 @@ from mercurial import ( 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 = {}