diff hgext/evolve.py @ 804:68e3d6e83ca5

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 80e078959129
children 66c02a2e8e2f
line wrap: on
line diff
--- a/hgext/evolve.py	Thu Feb 20 13:32:04 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                                          ###
 #####################################################################