changeset 22807 | cd43195ef876 |
parent 22806 | 65ccc733d58e |
child 22901 | 722117c8e023 |
--- a/mercurial/cmdutil.py Tue Oct 07 00:04:16 2014 -0700 +++ b/mercurial/cmdutil.py Tue Oct 07 00:20:00 2014 -0700 @@ -1856,12 +1856,12 @@ revs = matcher(repo, revs) revs.sort(reverse=True) if limit is not None: - limitedrevs = revset.baseset() + limitedrevs = [] for idx, rev in enumerate(revs): if idx >= limit: break limitedrevs.append(rev) - revs = limitedrevs + revs = revset.baseset(limitedrevs) return revs, expr, filematcher