revlog: fix lazyparser.__iter__() to return all revisions (issue2137)
Previously, it only returned revisions that were in the revlog when it
was originally opened; revisions added since then were invisible.
This broke revlog._partialmatch() and therefore repo.lookup().
(Credit to Benoit Boissinot for simplifying my original test script
and for the actual fix.)
#!/bin/sh
# http://mercurial.selenic.com/bts/issue433
hg init a
cd a
echo a > a
hg commit -Ama
hg parents -r 0 doesnotexist
true