Mercurial > evolve
changeset 2636:a788967aa800
obslog: clarify some sorting code
I'm not sure why Boris did it, but this belong to the next patch.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Jun 2017 19:00:31 +0200 |
parents | 9ab35c37b85a |
children | 49f2741c4dd7 |
files | hgext3rd/evolve/obshistory.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/obshistory.py Mon Jun 19 15:56:28 2017 +0200 +++ b/hgext3rd/evolve/obshistory.py Mon Jun 19 19:00:31 2017 +0200 @@ -91,10 +91,12 @@ fm = self.ui.formatter('debugobshistory', props) _debugobshistorydisplaynode(fm, self.repo, changenode) + # Succs markers succs = self.repo.obsstore.successors.get(changenode, ()) + succs = sorted(succs) markerfm = fm.nested("debugobshistory.markers") - for successor in sorted(succs): + for successor in succs: _debugobshistorydisplaymarker(markerfm, successor) markerfm.end()