我想在不检查该模块的情况下获取 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/