[PATCH 1 of 2 deprecations] dispatch: stop supporting non-use of @command
Yuya Nishihara
yuya at tcha.org
Tue Nov 22 08:34:36 EST 2016
On Mon, 21 Nov 2016 22:01:36 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1479783083 18000
> # Mon Nov 21 21:51:23 2016 -0500
> # Node ID de8e9f6a830166fe1cdb14bca0433fa328681ece
> # Parent c84baff8c3d45579fc0cb03492ced5c8f745749c
> dispatch: stop supporting non-use of @command
Queued with delight.
> @@ -3588,7 +3588,7 @@ def extsetup(ui):
> for cmd, entry in cmdtable.iteritems():
> cmd = cmdutil.parsealiases(cmd)[0]
> func = entry[0]
> - if dispatch._cmdattr(ui, cmd, func, 'norepo'):
> + if func.norepo:
dropped unused import
> @@ -1515,43 +1515,6 @@ Test compatibility with extension comman
> $ hg init deprecated
> $ cd deprecated
and removed remainder of the test repository.
More information about the Mercurial-devel
mailing list