On Sun, 19 Nov 2017 17:06:33 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov <a...@dwimlabs.net> > # Date 1511068734 -28800 > # Sun Nov 19 13:18:54 2017 +0800 > # Node ID 95bfd552561c2bc88284903c2d001df7e2080bfb > # Parent 7dee8249ba0efc42a60c4523fd9593853ec2eb79 > # EXP-Topic hgweb-more-info > context: add instabilities() method to basefilectx
> diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py > --- a/mercurial/hgweb/webutil.py > +++ b/mercurial/hgweb/webutil.py > @@ -362,6 +362,7 @@ def commonentry(repo, ctx): > 'extra': ctx.extra(), > 'phase': ctx.phasestr(), > 'obsolete': ctx.obsolete(), > + 'instabilities': [{"name": i} for i in ctx.instabilities()], ^^^^^^ It's better to call each item an 'instability' for compatibility with the log template. Can you send a followup? _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel