cvs - 如何在不 checkout repo 的情况下获取 cvs 提交日志

标签 cvs

我想在不检查该模块的情况下获取 cvs 中模块的所有提交列表。这可能吗?如果有怎么办?

我可以像这样使用 cvs log 命令:

cvs log > commitlog.txt

但这似乎仅适用于我从中运行命令的已 checkout 模块。我希望能够获得模块的日志而无需检查它。

最佳答案

是的。有一个“rlog”命令。它类似于日志,但不需要 checkout 代码。换句话说,该命令是“远程”运行的。

rlog [options] [files…]

Print out history information for modules. See log—Print out log

information for files.

-b

    Only list revisions on the default branch. See log options.
-d dates

    Specify dates (d1<d2 for range, d for latest before). See log

options. -h

    Only print header. See log options.
-l

    Local; run only in current working directory. See Recursive

behavior. -N

    Do not list tags. See log options.
-R

    Only print name of RCS file. See log options.
-rrevs

    Only list revisions revs. See log options.
-s states

    Only list revisions with specified states. See log options.
-t

    Only print header and descriptive text. See log options.
-wlogins

    Only list revisions checked in by specified logins. See log options.

关于cvs - 如何在不 checkout repo 的情况下获取 cvs 提交日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3314468/

相关文章:

Eclipse CVS变更 list

cvs - 如何使用 CVS 恢复修改后的文件?

cvs - 'cvs logout' 怎么不起作用?

java - 如何更改我导入的项目的 CVS 用户名

java - 是否可以在 Java 中仅 check out cvsclient 中的目录结构?

linux - CVS 行尾

linux - CVS 添加新文件报错

git - 是否有将 .cvsignore 文件转换为 .gitignore 文件的规定?

cvs - 在 Tortoise CVS 更新操作期间状态 "P"意味着什么?