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.)
adding a
adding b
adding c
% should succeed
200 Script output follows
/al/
/b/
/c/
200 Script output follows
a
200 Script output follows
b
200 Script output follows
c
% should fail
404 Not Found
error: repository circle not found
404 Not Found
error: repository circle not found
404 Not Found
error: repository circle not found
% collections errors