[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Decompression of svndiff data failed - Unpacking a repository

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 25 Jul 2011 22:28:18 +0300

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.
Received on 2011-07-25 21:29:47 CEST

This is an archived mail posted to the Subversion Users mailing list.