Something went wrong in subversion, and now I run into
svnadmin: Invalid diff stream: [tgt] insn 0 starts beyond the target view position
if I try to dump from the repository. We have another question about this here Subversion repository error , but the solutions are not good enough for me because the damage is 85 changes back.
Since corruption is in one not so important directory (not in trunk / branch / tags), I thought of two solutions:
- Create a dump from the healthy part and after importing into a new repository, fix the differences from important directories (losing the entire history of changes)
- Create a dump from the healthy part and write a ruby ββscript that will check each revision of the necessary directories in the old repository. This will create a diff file for revision and transfer it to a new repository with the authors name and original comment.
Any comments? :)
/ JaanusSiim
source
share