diff hgext/evolve.py @ 446:9d47474d2582 default tip

obsolete: remove legacy revset
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Tue, 07 Aug 2012 18:53:26 +0200
parents aedb6b8ace86
children
line wrap: on
line diff
--- a/hgext/evolve.py
+++ b/hgext/evolve.py
@@ -192,7 +192,7 @@
     # Look for an unstable which can be stabilized as a child of
     # node. The unstable must be a child of one of node predecessors.
     for ctx in selfanddescendants(repo, pctx):
-        unstables = list(repo.set('unstable() and children(obsancestors(%d))',
+        unstables = list(repo.set('unstable() and children(allprecursors(%d))',
                                   ctx.rev()))
         if unstables:
             return unstables[0]