hgext/evolve.py
changeset 446 9d47474d2582
parent 444 aedb6b8ace86
child 455 f46a41006136
--- a/hgext/evolve.py	Tue Aug 07 18:46:38 2012 +0200
+++ b/hgext/evolve.py	Tue Aug 07 18:53:26 2012 +0200
@@ -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]