--- a/hgext3rd/topic/stack.py Fri Apr 01 16:55:24 2016 -0700
+++ b/hgext3rd/topic/stack.py Fri Apr 01 16:57:11 2016 -0700
@@ -33,7 +33,7 @@
prev = r
# super crude initial version
- for idx, ctx in entries:
+ for idx, ctx in entries[::-1]:
if idx is None:
symbol = '_'
state = 'base'