[PATCH] help: don't crash in keyword search if an extension fails to provide docs

Sean Farley sean at farley.io
Wed Feb 10 18:37:20 UTC 2016


Simon Farnsworth <simonfar at fb.com> writes:

> # HG changeset patch
> # User Simon Farnsworth <simonfar at fb.com>
> # Date 1455097738 28800
> #      Wed Feb 10 01:48:58 2016 -0800
> # Node ID ab0871393d3e0827645371b3d764c268c7ebde94
> # Parent  a036e1ae1fbe88ab99cb861ebfc2e4da7a3912ca
> help: don't crash in keyword search if an extension fails to provide docs
>
> Not all external extensions provide docs; if you use such an extension, you
> will experience a crash if you use "hg help --keyword <word>", and <word>
> happens to match the extension name.

Nice catch. Seems fine to me.



More information about the Mercurial-devel mailing list