hgext3rd/topic/discovery.py
changeset 2674 9585fac76d2d
parent 2673 1014341c637b
child 2675 304232cc14b6
--- a/hgext3rd/topic/discovery.py	Wed Jun 28 17:23:43 2017 +0200
+++ b/hgext3rd/topic/discovery.py	Wed Jun 28 18:18:59 2017 +0200
@@ -64,7 +64,7 @@
         for key, value in summary.iteritems():
             if ':' in key: # This is a topic
                 if value[0] is None and value[1]:
-                    summary[key] = ([value[1].pop(0)], ) + value[1:]
+                    summary[key] = ([value[1][0]], ) + value[1:]
         return summary
     finally:
         if 'unfiltered' in vars(repo):