【发布时间】:2015-10-19 22:10:24
【问题描述】:
我想在 cvs 中获取一个模块的所有提交列表,而不检查该模块。这可能吗?如果有怎么办?
我可以像这样使用 cvs log 命令:
cvs log > commitlog.txt
但这似乎只适用于我正在从中运行命令的已签出模块。我希望能够在无需检查的情况下获取模块的日志。
【问题讨论】:
标签: cvs
我想在 cvs 中获取一个模块的所有提交列表,而不检查该模块。这可能吗?如果有怎么办?
我可以像这样使用 cvs log 命令:
cvs log > commitlog.txt
但这似乎只适用于我正在从中运行命令的已签出模块。我希望能够在无需检查的情况下获取模块的日志。
【问题讨论】:
标签: cvs
是的。有一个“rlog”命令。它类似于日志,但不需要签出代码。换句话说,该命令是“远程”运行的。
rlog [选项] [文件…]
Print out history information for modules. See log—Print out log文件信息。
-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选项。 -h
Only print header. See log options. -l Local; run only in current working directory. See Recursive行为。 -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.
【讨论】:
rlog: taxi_rings/RCS/taxi_ring_128.ent,v: No such file or directory 如何避免这种行为?