[PATCH 1 of 2] annotate: rewrite long short-circuit statement by if-elif-else

Matt Mackall mpm at selenic.com
Fri Aug 15 11:05:06 CDT 2014


On Fri, 2014-08-15 at 22:47 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1408080570 -32400
> #      Fri Aug 15 14:29:30 2014 +0900
> # Node ID a5faa142ebeed6a65c504586ef04eafa788d05d7
> # Parent  2965804483e31210b495f5b3cd498a4e3d3272b0
> annotate: rewrite long short-circuit statement by if-elif-else

Awesome, queued for default. I'd love to get to the point where we can
ban this construction in check-code.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list