我正在为我的项目使用cvs。我之前已经添加并提交了一些文件。之后我修改,添加,承诺。 但是现在我不确定是否添加了项目中存在的每个文件,以及每个添加的文件是否已提交。 那么如何找到哪些文件
根本没有添加(但存在于本地仓库中)
已添加但未提交
编辑:有很多文件。所以cvs log,cvs log filename就不那么容易了
答案 0 :(得分:0)
本回答中的信息来自:
的输出cvs -H update
解决方案是:
cvs -nq update
尚未添加的本地工作空间中存在的文件在输出中显示为:
? file
CVS的说明帮助解释了:
file is in your working directory, but does not correspond to anyâ
thing in the source repository, and is not in the list of files for
cvs to ignore (see the description of the -I option, and see node
'cvsignore' in the CVS manual).
添加但未提交的文件会在输出中显示如下:
A file
CVS帮助描述继续说:
The file has been added to your private copy of the sources, and will
be added to the source repository when you run commit on the file.
This is a reminder to you that the file needs to be committed.
例外情况适用于尚未添加的文件: