svn cleanup: sqlite: database disk image is malformed

前端 未结 17 1572
谎友^
谎友^ 2020-12-02 06:31

I was trying to do a svn cleanup because I can\'t commit the changes in my working copy, and I got the following error:

sqllite: databas

17条回答
  •  广开言路
    2020-12-02 07:06

    I solved my problem of visual svn server rep-cache.db corruption.

    Their are two solutions.

    Stop the Visual SVN Server service.

    Download sqllite3.exe shell from sqllite website and copy that into repo's db folder.

    Type the following commands at command prompt in the repo's db folder.

    -- First Solution --

    sqlite3 rep-cache.db
    
    .clone rep-cache-new.db
    

    press ctrl+c to exit sqllite.

    ren rep-cache.db rep-cache-old.db
    
    ren re-cache-new.db rep-cache.db
    

    -- 2nd Solution --

    Delete The rep-cache.db

    del rep-cache.db
    

    it will be automatically created.

提交回复
热议问题