[PATCH 2 of 2 STABLE] check-code: detect (maybe) complicated processing inside "_()"

Sean Farley sean.michael.farley at gmail.com
Wed Jan 28 12:09:51 CST 2015


FUJIWARA Katsunori writes:

> # HG changeset patch
> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> # Date 1422451379 -32400
> #      Wed Jan 28 22:22:59 2015 +0900
> # Branch stable
> # Node ID 7ec60cf08e322ccd3f5ac17a8d443ff020d07407
> # Parent  3da525e1db16adbc32734aa86a20cc7254724eb3
> check-code: detect (maybe) complicated processing inside "_()"
>
> This patch can detect problematic "_()" usages like one fixed by
> previous patch.
>
> For simplicity, this patch focuses only on the 1st element inside
> "_()". It should be a string (starting with single-/double-quotation)
> or a symbol (for referring variable or invoking function).

These patches look good to me, for what it's worth. Thanks for fixing
this!


More information about the Mercurial-devel mailing list