Dmitry Minsky wrote on Sat, 18 Jun 2022 17:16 +00:00: > I have a pretty old repository and now going to move it to another machine. > When I start the dump process I stumbled upon this error in one of the old > revisions: > > svnadmin: E16004: Invalid r4422 footer >
It's actually E160004. (Just saying this so search engines will find this thread.) > I now workaround with a skip over corrupted revision and continue > --incremental dump. But like every 10-50 revisions I still get this error > because I suppose there are files that depend on something from this old > corrupted revision. The question is, how and where to look in this revision > so I could manually fix the error by changing some files or checksum or > anything? At the very end of the file, like the following but on db/revs/4/4422: % strings db/revs/0/1 | tail -1 417 b4657c89ff644471b6760fd6389d253c 445 ea755737e485eeb03c0012e5d6bc1b49I % < r/db/revs/0/1 xxd -s 417 -l 9 000001a1: 4c32 502d 494e 4445 58 L2P-INDEX % < r/db/revs/0/1 xxd -s 445 -l 9 000001bd: 5032 4c2d 494e 4445 58 P2L-INDEX % (The first command might pick up some of the P2L/L2P data too? I don't remember whether it's guaranteed that there'll be a non-printable character between that and the last line.)