svn-sqliteS10-disk-IO-error

低头前行,莫问前程。

在使用svn提交项目时,遇到报错:svn: E200030: sqlite[S10]: disk I/O error

在使用svn提交项目时,遇到报错:

1
2
3
4
5
6
7
8
9
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Failed to lock working copy 'F:\workspace-new\idea-workspace\hbec-app-stock-project'.
svn: E200030: sqlite[S10]: disk I/O error
svn: E200042: Additional errors:
svn: E200030: sqlite[S10]: disk I/O error
svn: E200030: sqlite[S1]: no such savepoint: svn
svn: E200030: sqlite[S1]: no such savepoint: svn
svn: E200030: sqlite[S1]: no such savepoint: svn
svn: E200030: sqlite[S1]: no such savepoint: svn

此时可通过sqlite3工具来修复,具体步骤为:

  • 下载sqlite3工具,下载地址为:http://www.sqlite.org/download.html
  • 将sqlite3.exe文件解压缩到.svn目录的同级目录
  • 打开命令行工具,切换到.svn的同级目录
    执行命令:
    sqlite3.exe .svn/wc.db “reindex nodes”
    sqlite3.exe .svn/wc.db “reindex pristine”