hgext3rd/topic/stack.py
changeset 1956 d8f1e432b16a
parent 1955 5452a575b4e5
child 1957 ea5553e47027
--- 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'