l 使用CVS中的常见故障
Ø 现象: 作者:常××(changhao@×××.cn)
cvs -z9 -w -q commit -m "no message" -- temp.txt (in directory D:cvstestcpTask�1Creativity)cvs commit: permission denied for Task/01Creativity/temp.txt ***** CVS exited normally with code 0 ***** |
解决步骤:
1. 说明用户对此目录没有权限操作。
2. 检查“AccessControl/配置库结构及权限表.xls”中的权限信息,查看自己是否有权限。
3. 若需要有权限,向项目经理反馈,由项目经理确认后通知配置管理工程师开通。
Ø 现象: 作者:王××(zbwangjian@×××.cn)
cvs -z9 -w -q commit -m "no message" -- a (in directory D:cvstestcpAccessControl)cvs commit: Up-to-date check failed for `tmp'cvs [commit aborted]: correct above errors first!
***** CVS exited normally with code 1 ***** |
解决步骤:
1. 有人在你之前修改并提交了“tmp”文件的新版本,需要先执行update操作,合并前人的修改成果后再提交。
Ø 现象: 作者:王××(zbwangjian@×××.cn)
cvs -z9 -w -q update -k u -P (in directory D:cvstestcpAccessControlDd)cvs update: invalid RCS keyword expansion modeValid expansion modes include: -kkv Generate keywords using the default form. -kkvl Like -kkv, except locker's name inserted. -kk Generate only keyword names in keyword strings. -kv Generate only keyword values in keyword strings. -ko Generate the old keyword string (no changes from checked in file). -kb Generate binary file unmodified (merges not allowed) (RCS 5.7). (Specify the --help global option for a list of other help options)
***** CVS exited normally with code 1 ***** |
解决步骤:
1. 服务器端不支持此命令选项,调整选项,重新操作。
2. 客户端版本和服务器端版本不兼容,改用配置管理工程师推荐版本。