##// END OF EJS Templates
context: add instabilities() method to basefilectx...
av6 -
r35092:bd274393 default
parent child Browse files
Show More
@@ -821,6 +821,8 b' class basefilectx(object):'
821 return self._changectx.phasestr()
821 return self._changectx.phasestr()
822 def obsolete(self):
822 def obsolete(self):
823 return self._changectx.obsolete()
823 return self._changectx.obsolete()
824 def instabilities(self):
825 return self._changectx.instabilities()
824 def manifest(self):
826 def manifest(self):
825 return self._changectx.manifest()
827 return self._changectx.manifest()
826 def changectx(self):
828 def changectx(self):
@@ -362,6 +362,7 b' def commonentry(repo, ctx):'
362 'extra': ctx.extra(),
362 'extra': ctx.extra(),
363 'phase': ctx.phasestr(),
363 'phase': ctx.phasestr(),
364 'obsolete': ctx.obsolete(),
364 'obsolete': ctx.obsolete(),
365 'instabilities': [{"name": i} for i in ctx.instabilities()],
365 'branch': nodebranchnodefault(ctx),
366 'branch': nodebranchnodefault(ctx),
366 'inbranch': nodeinbranch(repo, ctx),
367 'inbranch': nodeinbranch(repo, ctx),
367 'branches': nodebranchdict(repo, ctx),
368 'branches': nodebranchdict(repo, ctx),
General Comments 0
You need to be logged in to leave comments. Login now