[PATCH 2 of 2 STABLE] templater: abort if infinite recursion detected while compilation

Matt Mackall mpm at selenic.com
Mon Jan 25 17:28:26 CST 2016


On Sat, 2016-01-23 at 16:45 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1437662489 -32400
> #      Thu Jul 23 23:41:29 2015 +0900
> # Branch stable
> # Node ID 66fd78e17ad47d30f9c540b9e10dd5b00cd1c563
> # Parent  a4b3e8ef3603d01d683012266bf0e4124011df56
> templater: abort if infinite recursion detected while compilation

These are queued for stable, thanks.

(I'll note that they also block finite recursion, so people trying to translate
their Lisp code into Mercurial templates are gonna have a bad time.)

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list