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.
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>