# HG changeset patch # User Pierre-Yves David # Date 1505331717 -7200 # Node ID 7932a0deae18d35247f88635c4b3cbf0db55a6a7 # Parent 06844693bb2114b15b956bbaa0bde56694e7f8f5 topic: stabilise the output of --age when date ties We just needed to introduce sort to stabilize the output order. diff -r 06844693bb21 -r 7932a0deae18 hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Fri Sep 15 15:48:18 2017 +0200 +++ b/hgext3rd/topic/__init__.py Wed Sep 13 21:41:57 2017 +0200 @@ -735,7 +735,7 @@ namemask = '%%-%is' % maxwidth activetopic = repo.currenttopic for timevalue in times: - curtopics = timedict[timevalue][1] + curtopics = sorted(timedict[timevalue][1]) for topic in curtopics: fm.startitem() marker = ' '