问题描述
有没有办法列出CVS中两个标签之间已更改的所有文件?
Is there any way to list all the files that have changed between two tags in CVS?
每次发布时,我们都会将标签应用于所有文件在那个版本中。我想查找所有版本之间已更改的所有文件。
Every time we do a release we apply a tag to all the files in that release. I want to find all the files that changed between releases.
如果我能找到两个日期之间已更改的所有文件,这也将起作用。
It would also work if I could find all files that had changed between two dates.
推荐答案
我想这个命令会有所帮助:
I suppose this command would help:
cvs diff -N -c -r RELEASE_1_0 -r RELEASE_1_1 > diffs
其中 RELEASE_1_0
和 RELEASE_1_1
是标签的名称。
您可以找到有关cvs diff命令
You can find a little more information on cvs diff command here
加上创建脚本使报表更适合您的需求非常简单,例如:文件数量已更改,创建的删除等。据我所知,最常见的cvs GUI工具(wincvs和tortoise)并不提供此类功能
plus it should be fairly simple to create a script to make report more suitbable for your needs, ex: number of files changed, created deleted etc. As far as I know the most common cvs GUI tools (wincvs and tortoise) do not provide something like this out of the box.
希望它可以帮助;)
这篇关于CVS:列出在标签(或日期)之间更改的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!