An invalid entry is any entry with a base not in the pack, or whose deltabases
form a cycle.
If there are any entries like that, the output will look like this:
(Root): Node Delta Base Delta Length Blob Size 665a7e7913af e66038a2894e 61 2142 52bd634be310 000000000000 2142 2142 8b5847087ce0 000000000000 2142 2142 960f5acb3e99 edf2ffd7daab 162 2142 b7d7e5aa692e 8b5847087ce0 162 2142 cdcc4d74d667 960f5acb3e99 324 2142 Total: 14652 48920 (70.0% smaller) Bad entry: 960f5acb3e99 has an unknown deltabase (edf2ffd7daab) Bad entry: b7d7e5aa692e has an unknown deltabase (edf2ffd7daab) 2 invalid entries
Since we're sanity checking, should we warn about duplicate nodes too, while we're here?