[PATCH 1 of 5] githelp: fail gracefully in a couple cases where arguments are missing

Pulkit Goyal 7895pulkit at gmail.com
Tue May 22 05:11:00 EDT 2018


On Tue, May 22, 2018 at 8:47 AM Matt Harbison <mharbison72 at gmail.com> wrote:

> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1526956335 14400
> #      Mon May 21 22:32:15 2018 -0400
> # Node ID a34bed7475cc8237665aa8a3febc1237a090bc20
> # Parent  90e02bd8c4473fec03639f26f3d1b2d30d9861d3
> githelp: fail gracefully in a couple cases where arguments are missing
>
> I didn't bother adding tests because the other commands that already
> handled
> missing arguments don't test these edge cases.  I didn't read over all of
> the
> code, rather I scanned for `args` not being checked before indexing.
>

​Queued the series, many thanks!​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20180522/1948c4c8/attachment.html>


More information about the Mercurial-devel mailing list