subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Restemeier <>
Subject Re: sqlite[s11]: database disk image malformed
Date Mon, 12 Aug 2019 20:13:55 GMT
Option one would be to offer this from svn cleanup:

cd ~/.meteor/package-metadata/v2.0.1
sqlite3 .dump > backup
sqlite3 < backup
rm backup

I am not sure what the API equivalent of this is. Obviously this can fail if the dump fails,
but that is better than nothing at all.

Option two would be to add an option “—repair" to “svn checkout —force” to ignore
the existing database but keep the .svn directory including the pristine files.

> On 12 Aug 2019, at 19:00, Daniel Shahaf <> wrote:
> Jens Restemeier wrote on Mon, 12 Aug 2019 14:14 +00:00:
>> That is a good point, though I was hoping that implementation details 
>> like the database library can be handled internally,
> What would you have us do when an SQLite API call returns SQLITE_CORRUPT
> (that's the error code you got)?
>> and admin tasks wrapped within the svn frontend.

View raw message