Chinaunix首页 | 论坛 | 博客
  • 博客访问: 136092
  • 博文数量: 34
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 600
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-14 03:26
文章分类

全部博文(34)

文章存档

2011年(6)

2010年(2)

2009年(4)

2008年(22)

我的朋友

分类: LINUX

2008-03-29 19:28:14

 首先Linux CVS Server 不支持 remote command :   cvs ls

 但可以用其他的方法来得到你登陆根目录的说有模块名字:

Step 1>      

remote side:

    cvs checkout -l .

-l 选项指定只处理当前目录而不处理子目录。一般当前目录不会有文件的。这样,不会 check出库的任何实际内容,但已经创建了 CVS 目录,用下面的命令可以看出:

local side:

dir CVS

...
2004-05-18  18:21                   3 Entries
2004-05-18  18:21                   0 Entries.Extra
2004-05-18  18:21                   0 Entries.Extra.Old
2004-05-18  18:21                   0 Entries.Old
2004-05-18  18:21                   3 Repository
2004-05-18  18:21                   33 Root

Step 2>
remote side:

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>

local side:
 mkdir AT90CAN_EK

cvs -n checkout AT90CAN_EK

你有可以看到很多被 --ignored的目录,如此递归下去,就可以全部看到目录了!


阅读(501) | 评论(0) | 转发(0) |
0

上一篇:关于Google Earth

下一篇:en.wikipedia.org

给主人留下些什么吧!~~