本地副本的版本号比新签出的CVS副本更大

时间:2015-02-26 07:22:26

标签: cvs wincvs

当我转到图表时,我的本地副本版本号显示为1.6。但是当我查看一份新的副本时,它会显示版本号1.3。可能是什么原因?

1 个答案:

答案 0 :(得分:0)

也许有人在工作区中运行cvs admin -o 1.3::之类的内容。

cvs --help admin
...
        -o range   Delete (outdate) specified range of revisions:
           rev1:rev2   Between rev1 and rev2, including rev1 and rev2.
           rev1::rev2  Between rev1 and rev2, excluding rev1 and rev2.
           rev:        rev and following revisions on the same branch.
           rev::       After rev on the same branch.
           :rev        rev and previous revisions on the same branch.
           ::rev       Before rev on the same branch.
           rev         Just rev.
...

cvs admin -o会造成各种各样的恶意,包括使工作空间损坏以创建此类修订问题。此命令可以从存储库中删除修订,而无需正确更新CVS / Entries文件中的工作区修订元数据。