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

Matt Mackall mpm at selenic.com
Wed Jan 28 14:41:27 CST 2015


On Wed, 2015-01-28 at 22:29 +0900, FUJIWARA Katsunori wrote:
> # 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 "_()"

I like this idea, but we should probably expand it to complain about
anything that's not a bare string. Let's revisit after the freeze.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list