分类: LINUX
2008-03-29 19:28:14
remote side:
cvs checkout -l .
-l 选项指定只处理当前目录而不处理子目录。一般当前目录不会有文件的。这样,不会 check出库的任何实际内容,但已经创建了 CVS 目录,用下面的命令可以看出:
local side:
dir CVS
...cvs -n update -d .
cvs update: Updating .
cvs update: New directory `AT90CAN_EK' -- ignored
cvs update: New directory `AT91SAM7A3-Interrupt' -- ignored
cvs update: New directory `CVSROOT' -- ignored
选项 -n 指定不执行实际操作,-d 指定处理目录。可以看出有三个目录:CVSROOT(管理模块)、AT90CAN_EK、AT91SAM7A3-Interrupt。“--ignored”表示忽略。查看当前目录,可以发现并没有任何新的文件和目录创建。
Step 3>