hgext3rd/topic/stack.py
changeset 1988 9a5d797d25be
parent 1985 03d6b685c16a
child 1990 71410fa2c253
--- a/hgext3rd/topic/stack.py	Tue Aug 16 15:43:06 2016 +0200
+++ b/hgext3rd/topic/stack.py	Tue Aug 23 23:38:28 2016 +0200
@@ -91,6 +91,7 @@
             data['behindcount'] = 0
         except error.ManyMergeDestAbort:
             data['behindcount'] = -1
+    data['branches'] = sorted(set(repo[r].branch() for r in revs))
 
     return data