[PATCH 2 of 2 pager-dispatch-tweaks] dispatch: rearrange 'unknown command' code to better employ pager
Yuya Nishihara
yuya at tcha.org
Wed Feb 22 09:05:09 EST 2017
On Tue, 21 Feb 2017 16:14:53 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1487704805 18000
> # Tue Feb 21 14:20:05 2017 -0500
> # Node ID 52083816be40edfac2e3e052ebe4d828c6c4a1c6
> # Parent f489d1ec2070f25a09f571177b97d8284b3b1932
> dispatch: rearrange 'unknown command' code to better employ pager
> + ui.pager('help')
> + ui.warn(nocmdmsg)
> commands.help_(ui, 'shortlist')
We have two more commands.help_() in error.CommandError branch.
More information about the Mercurial-devel
mailing list