hg verify: 'unknown compression type'
Bart Trojanowski
bart at jukie.net
Tue Aug 23 02:29:34 UTC 2005
* Matt Mackall <mpm at selenic.com> [050822 22:07]:
> You could use hg debugindex .hg/.../ips.c.d to verify that 'b24ecf..'
> is indeed the first revision.
Here is what I get:
$ hg debugindex .hg/data/drivers/ide/legacy/ide-cs.c.d
Traceback (most recent call last):
File "/home/muon/bart/bin/hg", line 13, in ?
commands.run()
File "/home/muon/bart/lib/python/mercurial/commands.py", line 1465, in run
sys.exit(dispatch(sys.argv[1:]))
File "/home/muon/bart/lib/python/mercurial/commands.py", line 1575, in dispatch
return d()
File "/home/muon/bart/lib/python/mercurial/commands.py", line 1562, in <lambda>
d = lambda: func(u, *args, **cmdoptions)
File "/home/muon/bart/lib/python/mercurial/commands.py", line 614, in debugindex
r = hg.revlog(hg.opener(""), file_, "")
File "/home/muon/bart/lib/python/mercurial/revlog.py", line 149, in __init__
e = struct.unpack(indexformat, i[f:f + s])
struct.error: unpack str size does not match format
Did you mean ips.c..i ?
$ hg debugindex .hg/data/drivers/ide/legacy/ide-cs.c.i
rev offset length base linkrev nodeid p1 p2
0 0 4795 0 0 8dcb11e35aef 000000000000 000000000000
1 4795 839 0 3976 c558d3af9881 8dcb11e35aef 000000000000
2 5634 54 0 3977 c0681d48b77c c558d3af9881 000000000000
3 5688 0 0 4026 d5c39ba441d2 c0681d48b77c 8dcb11e35aef
4 5688 0 0 4032 5ce2cd50c4d0 d5c39ba441d2 8dcb11e35aef
5 5688 0 0 4094 55664b8a98b5 5ce2cd50c4d0 8dcb11e35aef
6 5688 0 0 4337 654651526c75 8dcb11e35aef 55664b8a98b5
7 5688 43 0 4549 6ef5795cf2cb 55664b8a98b5 000000000000
8 5731 12 0 4554 ba9bc7c22105 6ef5795cf2cb 000000000000
9 5743 0 0 4594 eb764ddfb45e ba9bc7c22105 d5c39ba441d2
10 5743 0 0 4595 74f391ed0d25 eb764ddfb45e 55664b8a98b5
11 5743 0 0 4596 c6b81bacd103 74f391ed0d25 55664b8a98b5
12 5743 0 0 4624 24795f887f7e c6b81bacd103 654651526c75
13 5743 0 0 4656 ded9531f2215 55664b8a98b5 ba9bc7c22105
14 5743 0 0 4694 58564bf120ac 24795f887f7e 8dcb11e35aef
15 5743 0 0 4785 2307707886e8 654651526c75 24795f887f7e
16 5743 0 0 5027 b34ca5ca6baa 58564bf120ac 8dcb11e35aef
17 5743 94 0 5346 06bcb5488710 b34ca5ca6baa 000000000000
18 5837 80 0 5351 dc23df7c437a 06bcb5488710 000000000000
19 5917 0 0 5364 8bf127ecfaad dc23df7c437a b34ca5ca6baa
20 5917 87 0 5432 0a4b2febf7e8 55664b8a98b5 c6b81bacd103
21 6004 142 0 5449 fb3e7b7d7c3e 8bf127ecfaad 58564bf120ac
22 6146 0 0 5450 0097a1475d25 fb3e7b7d7c3e b34ca5ca6baa
23 6146 0 0 5451 7565411bd01c 0097a1475d25 0a4b2febf7e8
24 6146 0 0 5457 bea6eee2b82f 7565411bd01c 58564bf120ac
25 6146 0 0 5493 835d66bf84b6 bea6eee2b82f 58564bf120ac
26 6146 87 0 5520 7c311775be6a b34ca5ca6baa 8dcb11e35aef
27 6233 142 0 5521 76642de3cbe2 7c311775be6a 835d66bf84b6
28 6375 40 0 5551 27c3bf0dea2b 835d66bf84b6 000000000000
29 6415 0 0 5612 f843eb6c3cf2 27c3bf0dea2b 8dcb11e35aef
30 6415 0 0 5620 b2d33817ab0d 27c3bf0dea2b 8bf127ecfaad
31 6415 0 0 5624 6253429e8f7b f843eb6c3cf2 8dcb11e35aef
32 6415 0 0 5649 8e6eb33cb748 b2d33817ab0d 835d66bf84b6
33 6415 0 0 5812 7b751ad440db 24795f887f7e 8e6eb33cb748
34 6415 0 0 5816 c4fb974fc80f 8e6eb33cb748 8dcb11e35aef
Either way, the offenders are not in here.
-Bart
--
WebSig: http://www.jukie.net/~bart/sig/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20050822/4e83e1b7/attachment-0001.asc>
More information about the Mercurial
mailing list