在CentOS版本6.7(最终版)上:
我已经使用
设置了cvsrootset CVSROOT=:pserver:jay:pwd@hostname.fr:2401:/cvsdata/BUS-2010
其中jay是我的susername,pwd是密码,hostname.fr是主机名。然后我发布了一个添加:
cvs add YD
我收到错误消息:
cvs add: CVSROOT may only specify a positive, non-zero, integer port (not `2401:').
cvs add: Perhaps you entered a relative pathname?
cvs add: in directory .:
cvs add: ignoring CVS/Root because it does not contain a valid root.
cvs add: No CVSROOT specified! Please use the `-d' option
cvs [add aborted]: or set the CVSROOT environment variable.
所以我做了一个改变,删除了':'在端口号之后:
set CVSROOT=:pserver:jay:pwd@hostname.fr:2401/cvsdata/BUS-2010
似乎考虑到了:
$ echo $CVSROOT
:pserver:jay:pwd@hostname.fr:2401/cvsdata/BUS-2010
但我仍然有同样的错误:
$ cvs add YD
cvs add: CVSROOT may only specify a positive, non-zero, integer port (not `2401:').
cvs add: Perhaps you entered a relative pathname?
我错过了什么?