Mercurial > hg
changeset 42319:b162229ebe0d
log: flag topo-sorted set as such
This isn't required right now, but revs.istopo() should return True.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 16 May 2019 08:15:20 +0900 |
parents | 313812cbf4ca |
children | 526750cdd02d |
files | mercurial/logcmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/logcmdutil.py Wed Jan 09 15:54:45 2019 -0800 +++ b/mercurial/logcmdutil.py Thu May 16 08:15:20 2019 +0900 @@ -750,7 +750,7 @@ if not revs.istopo(): revs = dagop.toposort(revs, repo.changelog.parentrevs) # TODO: try to iterate the set lazily - revs = revset.baseset(list(revs)) + revs = revset.baseset(list(revs), istopo=True) elif not (revs.isdescending() or revs.istopo()): revs.sort(reverse=True) if expr: