CVSNT 用户名 密码设置方法及使用习惯(转)

原文地址

Note: http://book.csdn.net/bookfiles/220/10022010453.shtml有非常好的使用介绍,详细全面。

安装好CVSNT后,需要用命令行设置用户,密码,否则会出现类似I/O错误的问题:
假设装在了 : C:/Program Files/CVS 中,在命令行中[cmd]中,进入这个文件夹,运行命令:
cvs -d C:\cvsfile passwd -a giles ,
next step ,input the password for user-giles ,restart the cvs serve ,you can use it now ...
Generally , you need to make user write the repository , so open the control panel---->Advanced -> unselect the All users are read item ...
Then , It is ok for you to enjoy it .. -----------------
---------------
compatibility options
CvsNT clients 选中前三项就好,不选的话,兼容性差点,当然不会影响自己使用。

cvs -d C:\cvsfile passwd -r administrator -a giles ,   这样giles用户有了管理员权限。。

最好把cvs的储存库放在C盘,不然会发生各样的诡异错误。

2. CVS Control Panel 里的 Server Settings 也需要设置, 不然有可能出现 no such domain的提示。

3. 支持字符集的问题: 在建好服务器后,右键点击,在属性里面可以修改字符集。

4. 如果本地能连上CVS,但是局域网内另外的用户连接不上,那很可能是windows 防火墙的问题 。

      我们需要在防火墙的例外里面添加 CVs.exe 和 默认的 2401端口 。。

好的使用习惯:

1. One day ,One Commit   .

2. Update before modifying the code.

3. Update before committing the code, or else you may encounter some conflicts.

Update 的时候,会把server中的代码和本地的代码进行merge ,而不是简单的覆盖本地代码。

如果commit之前不进行update,则由于CVS不允许在commit的时候自动进行merge,极有可能产生冲突。

一般使用update和commit就可以了。

posted on 2008-10-09 08:31 FongLuo 阅读(802) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


<2008年12月>
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

导航

常用链接

留言簿

随笔分类(11)

随笔档案(79)

文章档案(1)

收藏夹(38)

学习网站

一般网站

最新随笔

搜索

积分与排名

最新评论

阅读排行榜