Mercurial > evolve
changeset 360:6390ab3aea93
obsolete: ctx.obsolete in core is not buggy anymore
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 11 Jul 2012 21:07:02 +0200 |
parents | 43f79983f638 |
children | ac7969043677 |
files | hgext/obsolete.py |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/obsolete.py Wed Jul 11 15:20:22 2012 +0200 +++ b/hgext/obsolete.py Wed Jul 11 21:07:02 2012 +0200 @@ -120,13 +120,6 @@ ### Patch changectx ############################# -# core one is buggy -def obsolete(self): - """True if the changeset is obsolete""" - return self.node() in self._repo.obsstore.precursors and self.phase() - -context.changectx.obsolete = obsolete - def unstable(ctx): """is the changeset unstable (have obsolete ancestor)""" if ctx.node() is None: