Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
Dmitry Minsky wrote on Tue, 28 Jun 2022 13:18 +00:00: >> What does the "folder with files" contain? > > Just a random files on my computer ;) It’s not from working copy or > repository or anything else meaningful. Let’s assume that it’s just a > bunch of random files which I want to put in the

Command-line tool for applying deltas? (was: Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?)

2022-06-28 Thread Daniel Shahaf
Good morning dev@, Anyone has a script that takes as input a file and an svndiff and emits to stdout the result of applying the latter to the former? This came up on users@ in the context of reconstructing a truncated rev file. I've checked tools/. Cheers, Daniel Daniel Shahaf wrote on Tue,

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
Dmitry Minsky wrote on Tue, 28 Jun 2022 14:44 +00:00: > Soo, here is an output of sql request: > > % sqlite3 rep-cache.db '.header on' 'SELECT * FROM rep_cache WHERE > revision = 7449' > hash|revision|offset|size|expanded_size > a684c1201230ed000e8baf11fcd890efebb059db|7449|3|106064003|111204465

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Dmitry Minsky
Soo, here is an output of sql request: % sqlite3 rep-cache.db '.header on' 'SELECT * FROM rep_cache WHERE revision = 7449' hash|revision|offset|size|expanded_size a684c1201230ed000e8baf11fcd890efebb059db|7449|3|106064003|111204465 And here is 7449 file size % ls -l revs/7/7449 -r--r--r--. 1

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
Dmitry Minsky wrote on Tue, 28 Jun 2022 13:18 +00:00: >> What does the "folder with files" contain? > > Just a random files on my computer ;) It’s not from working copy or > repository or anything else meaningful. Let’s assume that it’s just a > bunch of random files which I want to put in the

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Dmitry Minsky
> What does the "folder with files" contain? Just a random files on my computer ;) It’s not from working copy or repository or anything else meaningful. Let’s assume that it’s just a bunch of random files which I want to put in the middle of repo and hope that it won’t blow up ;) Is that

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Daniel Shahaf
Dmitry Minsky wrote on Tue, 28 Jun 2022 11:01 +00:00: > Ok. I’m pretty sure that db/revs/7/7449 is just truncated. Since there > aren’t any signs of any text readable data at the bottom of the file > and the top of file looks similar to 7448, 7450 and to any other > revision. > > So, let’s say

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-28 Thread Dmitry Minsky
Ok. I’m pretty sure that db/revs/7/7449 is just truncated. Since there aren’t any signs of any text readable data at the bottom of the file and the top of file looks similar to 7448, 7450 and to any other revision. So, let’s say I’m 85.23% sure about content of this particular revision. How

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-21 Thread Daniel Shahaf
Dmitry Minsky wrote on Sun, 19 Jun 2022 11:53 +00:00: > There is something in revisions before and after corrupted one: > > % strings repo/db/revs/7/7448 | tail -1 > 2244140591 fa0c1a8229575b0ce27ef0c5a8b898b4 2244140730 > 7d861109493094a15013c7ea105e33a1W > > % strings repo/db/revs/7/7450 | tail

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-19 Thread Dmitry Minsky
There is something in revisions before and after corrupted one: % strings repo/db/revs/7/7448 | tail -1 2244140591 fa0c1a8229575b0ce27ef0c5a8b898b4 2244140730 7d861109493094a15013c7ea105e33a1W % strings repo/db/revs/7/7450 | tail -1 51995736 59c66b6d95365e6bdb4be4ec3b2d3a34 51995799

Re: svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-19 Thread Daniel Shahaf
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

svnadmin: E16004: Invalid r4422 footer. How to investigate deeper?

2022-06-18 Thread Dmitry Minsky
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 I now workaround with a skip over corrupted revision and continue --incremental dump. But like