小弟初学CVS,在这里下了不少资料,按图索骥的学习!其中碰到不少问题,在这里列举一些,算是一点总结,因为自己也是初学者,当中的问题可能说的并不对,望高手指点
安装好cvsnt和wincvs
用wincvs远程登陆
症状1:
cvs chacl default:n
cvs [chacl aborted]: server does not support chacl
***** CVS exited normally with code 1 *****
解决:是python跟wincvs不兼容,最后用python221+cvsnt-2.0.41+wincvs1.3中文版
症状2:无法checkout模块
cvs checkout 大狼的工作目录 (in directory E:\CVS\sssss)
cvs server: User user4 cannot access lxwDIR
***** CVS exited normally with code 1 *****
解决:没有给user4的用户此工作目录的读写权限
症状3:无法提交修改,加文件等
cvs commit -m "no message" "新建 文本文档.txt" (in directory E:\CVS\sssss\zylDIR\)
cvs [server aborted]: "commit" requires write access to the repository
***** CVS exited normally with code 1 *****
解决:没有把user4加到writers中去
症状4:无法提交修改,加文件等
cvs add: Empty password used - try 'cvs login' with a real password
cvs [add aborted]: authorization failed: server 192.168.0.105 rejected access to E:/cvs/KHRoot for user user2
***** CVS exited normally with code 1 *****
解决:应为我用user1用户checkout了模块,但用user2修改文件并提交,或加文件,重新用user2再在其他目录checkout一下模块,修改提交就可以了
症状5:无法给模块附用户
cvs chacl user4:rcw
***** CVS exited normally with code 1 *****
cvs [server aborted]: "chacl" requires write access to the repository
解决,我用user4登录了,只有administrator有此权限