# HG changeset patch # User Pierre-Yves David # Date 1342033622 -7200 # Node ID 6390ab3aea937a2a03e3bf95be69c934a17b97df # Parent 43f79983f6388061338ba8c1866399662f2380eb obsolete: ctx.obsolete in core is not buggy anymore diff -r 43f79983f638 -r 6390ab3aea93 hgext/obsolete.py --- 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: