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 ca

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
> 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 possib

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 mi

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 ap

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 >

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 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 mi