[PATCH 4 of 5] acl: perform some computations earlier, so that returned lambda functions are simpler

Matt Mackall mpm at selenic.com
Mon May 21 17:03:54 CDT 2012


On Mon, 2012-05-21 at 17:26 -0300, elifarley at gmail.com wrote:
> # HG changeset patch
> # User Elifarley Callado Coelho Cruz
> # Date 1337359664 10800
> # Node ID 70abc223b1f37971d00a9f6e353ec639bf79fef4
> # Parent  2a669647853808c0423ad51596b16090610c12b5
> acl: perform some computations earlier, so that returned lambda functions are simpler

These are queued for default with one change:

> +            if '*' in pats: return util.always

..we like to put linebreaks after things like "if x:".

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list