Mercurial > evolve
diff hgext3rd/topic/__init__.py @ 2930:7932a0deae18
topic: stabilise the output of --age when date ties
We just needed to introduce sort to stabilize the output order.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 13 Sep 2017 21:41:57 +0200 |
parents | 6275808e89ef |
children | 3b67642a0bc6 |
line wrap: on
line diff
--- 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 = ' '