gpt4 book ai didi

version-control - cvs, "file should be removed and is still there (or back again)"

转载 作者:行者123 更新时间:2023-12-04 03:35:19 25 4
gpt4 key购买 nike

我正在尝试提交一个项目,在该项目中文件已被“cvs remove” d删除,但实际上需要存在该文件中。内容已被完全重写,但需要保留相同的名称。

我无法提交项目或重新添加文件,而不会收到此烦人的错误消息。如何在CVS中“取消删除”文件?

最佳答案

这为我工作:

  • 重命名文件
    mv mistakenly_removed_file wtf
  • 要求cvs添加旧版本:
    cvs add mistakenly_removed_file
  • 然后
  • cvs报告它已恢复已删除的文件。
    mv wtf mistakenly_removed_file
  • cvs status显示该文件现在已“本地修改”

    关于version-control - cvs, "file should be removed and is still there (or back again)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1287401/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com