The pristine text with checksum '1fd3XXXXXX' was not found

SVN update中断,clear up代码时,报个ERROR:

1
2
3
4
5
6
7
8
9
10
11
Description : The pristine text with checksum '1fd3XXXXXX' was not found
Suggestion : The operation could not be completed.

Technical Information
=====================

Error : V4Error
Exception : ZSVNException

Causal Information
==================

将出错信息’1fd3XXXXXX’从SVN记录数据库wc.db中删除,重新update搞定。

具体操作:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
1. 下载sqlite工具
地址:https://www.sqlite.com/download.html

2. 进入项目所在的根目录,找到.svn

3. 用下载的sqlite3打开记录数据库
sqlite3 .svn/wc.db

4. 查找sha1报错code是否存在版本库中
your missing pristine here = 1fd3XXXXXX(报错代码)
sqlite> select * from pristine where checksum="$sha1$your missing pristine here";

5. 执行上面的命令后查询结果为空,那么继续下面的操作
sqlite> select * from nodes where checksum="$sha1$your missing pristine here";

6. 查询有值,执行删除命令
sqlite> delete from nodes where checksum="$sha1$your missing pristine here";

7. 如果删除没有报错,SVN可以执行update操作了
-------------本文结束感谢您的阅读-------------
坚持原创技术分享,您的支持将鼓励我继续创作!