我打破了化石scm - SQLITE_NOTADB

时间:2017-11-20 14:23:48

标签: fossil

在Q& A风格的堆栈交换中,我遇到了这个错误,无法找到解决方案。

事故原因是我打字:

fossil update a_filename

这导致化石scm设置的腐败,其输出:

SQLITE_NOTADB: file is not a database
D:\bin\fossil.exe
SQLITE_NOTADB: file is not a database
D:\bin\fossil.exe: file is not a database
PRAGMA database_list
SQLITE_NOTADB: file is not a database
D:\bin\fossil.exe: file is not a database
PRAGMA database_list
SQLITE_NOTADB: file is not a database
D:\bin\fossil.exe: file is not a database
PRAGMASQLITE_NOTADB: file is not a database
^C^C

这将永远运行。

1 个答案:

答案 0 :(得分:0)

此问题的解决方案是重新同步:

fossil sync https://<my_username>@<url>

将提示输入密码并发送状态消息,确保一切正常。