diff --git a/mercurial/context.py b/mercurial/context.py index 1ac4c0887de41b1fbbd048cc6cad799677eee99f_bWVyY3VyaWFsL2NvbnRleHQucHk=..bd2743936b56e2ff33dc59bb0baaf981c21754d9_bWVyY3VyaWFsL2NvbnRleHQucHk= 100644 --- a/mercurial/context.py +++ b/mercurial/context.py @@ -821,6 +821,8 @@ return self._changectx.phasestr() def obsolete(self): return self._changectx.obsolete() + def instabilities(self): + return self._changectx.instabilities() def manifest(self): return self._changectx.manifest() def changectx(self): diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py index 1ac4c0887de41b1fbbd048cc6cad799677eee99f_bWVyY3VyaWFsL2hnd2ViL3dlYnV0aWwucHk=..bd2743936b56e2ff33dc59bb0baaf981c21754d9_bWVyY3VyaWFsL2hnd2ViL3dlYnV0aWwucHk= 100644 --- a/mercurial/hgweb/webutil.py +++ b/mercurial/hgweb/webutil.py @@ -362,6 +362,7 @@ 'extra': ctx.extra(), 'phase': ctx.phasestr(), 'obsolete': ctx.obsolete(), + 'instabilities': [{"name": i} for i in ctx.instabilities()], 'branch': nodebranchnodefault(ctx), 'inbranch': nodeinbranch(repo, ctx), 'branches': nodebranchdict(repo, ctx),