CVS报错:could not find desired version的解决办法

时间:2022-02-18 14:00:47

错误信息如下:
**Errors have occurred while calculating the synchronization state for CVS Workspace.
The server reported an error while performing the “cvs update” command.
The server reported an error while performing the “cvs update” command.
minv2: cvs [server aborted]: could not find desired version 1.15 in E:/cvscode/minv2/src_pjFix/com/repair/pjFix/action/dictJcType/FindAllDictJcTypeAction.java,v**

引起这个问题的原因是:服务端 CVS 文件版本号和本机文件的版本号不一致导致的

解决办法如下
1、先找到文件在服务端对应的位置,CVS报错:could not find desired version的解决办法

2、用记事本打开该文件,
CVS报错:could not find desired version的解决办法
1.2 就是此文件在服务器端cvs上的版本号

3、找到文件在本机上对应的位置。
CVS报错:could not find desired version的解决办法

4、修改本地文件版本号
打开 CVS下的Entries文件。
CVS报错:could not find desired version的解决办法

5、如果使用了IDE,在IDE中 F5刷新一下项目,版本号就会同步成修改后的版本号