changeset 657:789acc1d039b

evolve: drop "troubles" and "troubled" method now in core
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sat, 05 Jan 2013 18:10:07 +0100
parents 4cd65437b704
children 2a2b8c95bb43
files hgext/evolve.py
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- 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')