[PATCH 1 of 2] alias: reject non-ascii characters in user help/doc strings
Pulkit Goyal
7895pulkit at gmail.com
Wed Mar 28 18:34:34 UTC 2018
On Wed, Mar 28, 2018 at 6:48 PM, Yuya Nishihara <yuya at tcha.org> wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1522242285 -32400
> # Wed Mar 28 22:04:45 2018 +0900
> # Node ID 34381b51be48dad3a7b53c663aa5f38e8f5913fa
> # Parent 4d63f3bc1e1ad3bd145af95d6eab8104684686ca
> alias: reject non-ascii characters in user help/doc strings
>
> Since command doc/help texts are passed to i18n.gettext(), they must be
> ASCII. Otherwise, UnicodeError would be raised.
Queued the series. Many thanks!
More information about the Mercurial-devel
mailing list