hgext/evolve.py
changeset 657 789acc1d039b
parent 653 116c6f76d24b
child 658 2a2b8c95bb43
--- a/hgext/evolve.py	Fri Jan 25 16:31:29 2013 +0100
+++ b/hgext/evolve.py	Sat Jan 05 18:10:07 2013 +0100
@@ -405,23 +405,6 @@
     if ui.config('alias', 'odiff', None) is None:
         ui.setconfig('alias', 'odiff', "diff --hidden --rev 'limit(precursors(.),1)' --rev .")
 
-# - "troubles" method on changectx
-
-@eh.addattr(context.changectx, 'troubles')
-def troubles(ctx):
-    """Return a tuple listing all the troubles that affect a changeset
-
-    Troubles may be "unstable", "bumped" or "divergent".
-    """
-    troubles = []
-    if ctx.unstable():
-        troubles.append('unstable')
-    if ctx.bumped():
-        troubles.append('bumped')
-    if ctx.divergent():
-        troubles.append('divergent')
-    return tuple(troubles)
-
 ### Troubled revset symbol
 
 @eh.revset('troubled')