diff --git a/mercurial/context.py b/mercurial/context.py index dd000a958364f44fd048e991e4f7eaba6121f7a7_bWVyY3VyaWFsL2NvbnRleHQucHk=..a9454beb9dd8a455c1d405aa9846eacaf60b1266_bWVyY3VyaWFsL2NvbnRleHQucHk= 100644 --- a/mercurial/context.py +++ b/mercurial/context.py @@ -819,6 +819,8 @@ return self._changectx.phase() def phasestr(self): return self._changectx.phasestr() + def obsolete(self): + return self._changectx.obsolete() def manifest(self): return self._changectx.manifest() def changectx(self): diff --git a/mercurial/hgweb/webutil.py b/mercurial/hgweb/webutil.py index dd000a958364f44fd048e991e4f7eaba6121f7a7_bWVyY3VyaWFsL2hnd2ViL3dlYnV0aWwucHk=..a9454beb9dd8a455c1d405aa9846eacaf60b1266_bWVyY3VyaWFsL2hnd2ViL3dlYnV0aWwucHk= 100644 --- a/mercurial/hgweb/webutil.py +++ b/mercurial/hgweb/webutil.py @@ -361,6 +361,7 @@ 'date': ctx.date(), 'extra': ctx.extra(), 'phase': ctx.phasestr(), + 'obsolete': ctx.obsolete(), 'branch': nodebranchnodefault(ctx), 'inbranch': nodeinbranch(repo, ctx), 'branches': nodebranchdict(repo, ctx),