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
hg init a
cd a
hg log
hg grep wah
hg manifest
hg verify
ls .hg
ls .hg/store
cd ..
hg clone a b
cd b
hg verify
ls .hg
ls .hg/store