Mercurial > hg
diff mercurial/hbisect.py @ 19486:002b711a3e8a stable
hgweb: fix incorrect way to count revisions in log (issue3977)
Actual amount of revisions is used now instead of their numbers in the repo
before to deal with skipped numbers correctly.
This iterates starting from the newest revision (which is shown on top)
yielding up to the specified count, instead of the reversed order used before.
Effect of this change on efficiency is negligible, when the same changesets are
returned.
author | Alexander Plavin <me@aplavin.ru> |
---|---|
date | Thu, 25 Jul 2013 02:22:39 +0400 |
parents | 07771e233cf1 |
children | 1e5b38a919dd 06ef32c3b4bb |