Mercurial > evolve
diff hgext/evolve.py @ 858:2137f1c153d6 stable
evolve: drop `latercomer` and `conflicting` compatibility.
Those old alias are deprecated for a long time now. All computations related to
troubles are in Mercurial core for multiple versions.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Wed, 19 Feb 2014 18:14:20 -0800 |
parents | c479e24ebddf |
children | b6337585ae25 6a67606e1c34 |
line wrap: on
line diff
--- a/hgext/evolve.py Wed Feb 19 18:03:13 2014 -0800 +++ b/hgext/evolve.py Wed Feb 19 18:14:20 2014 -0800 @@ -326,31 +326,6 @@ getrevs = obsolete.getrevs ##################################################################### -### Complete troubles computation logic ### -##################################################################### - - -### changectx method - -@eh.addattr(context.changectx, 'latecomer') -def latecomer(ctx): - """is the changeset bumped (Try to succeed to public change)""" - return ctx.bumped() - -@eh.addattr(context.changectx, 'conflicting') -def conflicting(ctx): - """is the changeset divergent (Try to succeed to public change)""" - return ctx.divergent() - -### revset symbol - -eh.revset('latecomer')(revset.symbols['bumped']) -eh.revset('conflicting')(revset.symbols['divergent']) - - - - -##################################################################### ### Additional Utilities ### #####################################################################