Something has gone wrong in subversion and now I am facing
svnadmin: Invalid diff stream: [tgt] insn 0 starts beyond the target view position
if I try to make dump from repository. We have another question about it here Subversion Repository Error, but the solutions there are not good enough for me because the corruption is 85 revisions back.
Because the corruption is in one not so important directory (not in trunk/branches/tags) I was thinking about two solutions:
- Create a dump from healthy portion and after importing it to new repository commit diffs from important directories (losing all revision history)
- Create a dump from healthy portion and write a ruby script that would check every revision of needed directories in old repository. This will create a diff file for revision and commit it to new repository with authors name and original comment.
Any comments? :)
/JaanusSiim