view tests/test-convert-hg-svn.out @ 10914:b7ca37b90762 stable

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.)
author Greg Ward <greg-hg@gerg.ca>
date Wed, 14 Apr 2010 15:06:40 -0400
parents a02d43acbc04
children
line wrap: on
line source

Checked out revision 0.
A         a
Adding         a
Transmitting file data .
Committed revision 1.
% initial roundtrip
scanning source...
sorting...
converting...
0 added a
scanning source...
sorting...
converting...
% second roundtrip should do nothing
scanning source...
sorting...
converting...
scanning source...
sorting...
converting...
% new hg rev
updating to branch default
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
% adding an empty revision
% echo hg to svn
scanning source...
sorting...
converting...
1 b
0 emtpy
% svn back to hg should do nothing
scanning source...
sorting...
converting...
% hg back to svn should do nothing
scanning source...
sorting...
converting...