Mercurial > hg > evolve
changeset 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 | 83882f2fbecb |
files | README hgext/evolve.py |
diffstat | 2 files changed, 2 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/README +++ b/README @@ -44,6 +44,8 @@ 3.3.0 -- +- drop `latercomer` and `conflicting` compatibility. Those old alias are + deprecated for a long time now. - add verbose hint about how to handle corner case by hand. This should help people until evolve is able to to it itself. - removed the qsync extension. The only user I knew about (logilab) is not
--- a/hgext/evolve.py +++ b/hgext/evolve.py @@ -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 ### #####################################################################