Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-convert-git.out @ 5338:f87685355c9c
revlog: fix revlogio.packentry corner case
We want to store version information about the revlog in the first
entry of its index. The code in packentry was using some heuristics
to detect whether this was the first entry, but these heuristics could
fail in some cases (e.g. rev 0 was empty; rev 1 descends directly from
the nullid and is stored as a delta).
We now give the revision number to packentry to avoid heuristics.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Wed, 26 Sep 2007 01:58:45 -0300 |
parents | 24de027551c1 |
children | 9c0f864fddca |
line wrap: on
line source
assuming destination git-repo-hg initializing destination git-repo-hg repository scanning source... sorting... converting... 3 t1 2 t2.1 1 t2.2 0 Merge branch other changeset: 3:69b3a302b4a1 tag: tip parent: 1:0de2a40e261b parent: 2:8815d3b33506 user: test <test@example.org> date: Mon Jan 01 00:00:13 2007 +0000 files: a description: Merge branch other committer: test <test@example.org>