[PATCH] help: fix search with `-k` option in non-ASCII locales

Josh Soref timeless.bmo3 at gmail.com
Mon Jun 4 13:42:06 CDT 2012


>  Hm-m-m... Why? If `entry[0]` has no '__doc__', then `gettext` (imported
> as _) returns None, and non-string `docs` would break code below.

I only moved the ). If _(None) returns None then you will get None or
'', which should be ok.

Am I missing something?


More information about the Mercurial-devel mailing list