[PATCH 01 of 12] localrepo: add an unused dictionary for arbitrary labels

Matt Mackall mpm at selenic.com
Wed Aug 27 06:17:47 CDT 2014


On Mon, 2014-08-18 at 16:17 -0500, Sean Farley wrote:
> # HG changeset patch
> # User Sean Farley <sean.michael.farley at gmail.com>
> # Date 1396216512 18000
> #      Sun Mar 30 16:55:12 2014 -0500
> # Node ID ed72c4bcbbbcab7f75f6b86fee6c67aa45590e7c
> # Parent  8dda6f6ff564d8fe6ac7b8ce4c74eb9bfb5de14a
> localrepo: add an unused dictionary for arbitrary labels

I'm not terribly excited about this series as it's a bit too much
restructuring for a minor feature. I think we should just add a little
helper function that tells you all the labels on a ctx and their type.

repo['.'].labels() -> { "foo": "bookmark", "bar": "tag", ...}

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list