2

我发现了这个问题:如何找出哪些 CVS 标签覆盖了哪些文件和路径?(3)

然而,结果完全不是我所期待的。我正在使用以下内容:

cvs -n -q 更新 -r ET30908

我正在寻找每个带有“ET30908”标签的文件。

4

4 回答 4

1

我发现最简单的方法是检查项目。

cvs co -d tag-ET30908 -r ET30908 modulename

这将在磁盘上创建一个名为“tag-ET30908”的目录,其中仅包含具有指定标签的那些文件。

您甚至可以保留此目录,然后再进行更新cvs update以查看发生了哪些标签更改。

于 2009-02-25T20:00:02.970 回答
0

知道这一点的唯一方法是迭代所有文件,因为 CVS 是面向文件的,而不是面向变更集或快照的。没有输入所有标签的中心文件/位置。

于 2008-12-17T23:19:31.297 回答
0

Hmm, what about:

cvs -q rlog -SR -rET30908 .

Note the period character at the end. This essentially means to search the entire repository. You can of course also limit your search to a specific module instead.

Also note that the -S parameter is not supported by some older versions of CVS and CVSNT. Without it you would get an entry for every single file even if they don't match the given tag.

于 2008-12-19T08:25:43.363 回答
0

我会与树的头部进行比较

cvs rdiff -s -r ET30908 -r HEAD modulename

rdiff 允许您无需结帐即可查看

如果您想与您的版本进行比较,您可以标记您所在的空间,然后使用该标记执行 rdiff

于 2009-01-23T20:02:55.493 回答