Version control cvs编辑器不能在同一项目中的多个位置工作
我正在为一个项目使用Version control cvs编辑器不能在同一项目中的多个位置工作,version-control,cvs,Version Control,Cvs,我正在为一个项目使用cvs。我使用cvs checkout…从存储库中签出项目的副本,然后使用cvs edit进行编辑。现在,考虑下面的项目的目录目录结构: project/: dir1/: sample1.C dir2/: sample2.C 现在假设我运行以下命令: cd ~/cvs/project/dir1/ cvs edit sample1.C cd ../dir2 cvs edit sample2.C cvs editors 我的输出将只包含sample2.C,而不包含samp
cvs
。我使用cvs checkout…
从存储库中签出项目的副本,然后使用cvs edit
进行编辑。现在,考虑下面的项目的目录目录结构:
project/:
dir1/:
sample1.C
dir2/:
sample2.C
现在假设我运行以下命令:
cd ~/cvs/project/dir1/
cvs edit sample1.C
cd ../dir2
cvs edit sample2.C
cvs editors
我的输出将只包含sample2.C
,而不包含sample1.C
。如果我将cd
放入dir1
中,我只能看到正在编辑的sample1.C
。我的问题如下:
cvs
设置有问题吗?或者我应该从一个地方调用cvs edit
命令来编辑需要编辑的任何文件,以便在一个地方查看正在编辑的所有文件cvs
中是否有一个命令,我可以使用该命令查看跨项目在cvs
中编辑的所有文件备注:如果需要更多详细信息,请告诉我。
cvs
默认情况下,命令可在当前目录及以下目录下工作。因此,在您的示例中,因为您位于dir2
,所以只能看到sample2.C
。如果您移回proect
目录,您将看到这两个文件。cvs
默认情况下,命令在当前目录及以下目录下工作。因此,在您的示例中,因为您位于dir2
,所以只能看到sample2.C
。如果您移回proect
目录,您将看到这两个文件