hgext3rd/topic/stack.py
changeset 4649 6b7ad4b50d00
parent 4581 48521a49a07e
child 4650 7c05b1625921
--- a/hgext3rd/topic/stack.py	Tue Jun 04 10:30:56 2019 +0200
+++ b/hgext3rd/topic/stack.py	Sun May 05 16:14:53 2019 +0800
@@ -318,7 +318,7 @@
         states = []
         if opts.get('children'):
             expr = 'children(%d) and merge() - %ld'
-            revisions = repo.revs(expr, ctx.rev(), st.revs[1:])
+            revisions = repo.revs(expr, ctx.rev(), st._revs)
             if len(revisions) > 0:
                 states.append('external-children')