【问题标题】:How to change the commit cvs comment after commit in eclipse?如何在eclipse中提交后更改commit cvs评论?
【发布时间】:2025-12-25 11:40:11
【问题描述】:

我使用 eclipse 在 CVS 中提交了代码,我错误地编写了错误的 cmets 并提交了代码。现在想改评论,可以吗?

如果是这样,请告诉我如何更改它?

【问题讨论】:

    标签: eclipse cvs


    【解决方案1】:

    您可以使用 cvs 命令行工具更改注释:

    cvs admin -m $version:"$newcomment" $filename
    

    如果您的评论有多行:

    cvs admin -m $version:"`cat /path/to/comment_file.txt`" $filename
    

    【讨论】:

    • 我们不能从 Eclipse 做吗?