[PATCH 4 of 9 V3] template: add minimal obsfate template function
Yuya Nishihara
yuya at tcha.org
Tue Aug 22 10:58:07 EDT 2017
On Mon, 21 Aug 2017 10:43:56 +0200, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld at octobus.net>
> # Date 1502987171 -7200
> # Thu Aug 17 18:26:11 2017 +0200
> # Node ID 84a35f753f9ab500902f5c06ce3845ce85e5b5a9
> # Parent 89a659e236b906e58a48dfed8a4e3b89372d7184
> # EXP-Topic obsfatetemplate
> template: add minimal obsfate template function
> + at templatekeyword("succsandmarkers")
> +def showsuccsandmarkers(repo, ctx, **args):
> + """Returns a list of dict for each final successor of ctx.
> +
> + The dict contains successors node id in "successors" keys and the list of
> + obs-markers from ctx to the set of successors in "markers"
> + """
Please mark all template keywords/functions as (EXPERIMENTAL). I believe
most people don't like "succs and markers" so these template functions will
probably change if someone come up with a better idea.
More information about the Mercurial-devel
mailing list