Philippe Busque wrote on Mon, Jul 25, 2011 at 15:05:29 -0400:
> I need to know if there's a way to unpack a single shard so that I can
> run this script on the faulty revision and repair it, without having to
> either unpack the whole repository or do a dump / load.
> 
> Thanks

The shards are independent, and fsfsverify.py operates on one revision
at a time.  It should be possible to extract just one revision from the
pack file (use its manifest file), fix it, and then sew the pack file
back together (and also fix the manifest file if the fixed rev file has
a different length).

There is also a script in tools/, called fsfs-reshard.py, that may be
useful.

Reply via email to