comparison mercurial/similar.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 525fdb738975
children a56c47ed3885
comparison
equal deleted inserted replaced
19485:02c71f96eb6c 19486:002b711a3e8a