我广泛搜索以解决我的问题,但无法找到任何解决方案。
要求:需要从HEAD签出ADM项目。
CVS服务器名称:cvs02dv( CVS安装在Windows上)
CVS服务器目录:c:\ cvs \ dev (该位置是可以使用eclipse或任何CVS客户端工具(如smartCVS)访问的所有文件)
要从HEAD检出的项目: ADM
使用eclipse我可以使用 pserver:user @ cvs02dv访问文件:c:\ cvs \ dev
我从下面的网站下载了CVS客户端,在D:\ vinu \ installedSW \ CVSClient目录中解压缩。
http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-22.zip
命令用于从WINDOW命令行结帐:
D:\vinu\installedSW\CVSClient>cvs -d:pserver:usera@cvs02dv:c:\cvs\dev co ADM
错误:
cvs checkout: CVSROOT requires a path spec:
cvs checkout: :(gserver|kserver|pserver):[[user][:password]@]host[:[port]]/path
cvs checkout: [:(ext|server):][[user]@]host[:]/path
cvs [checkout aborted]: Bad CVSROOT: `:pserver:user@cvs02dv:c:\cvs\dev'.
欣赏任何提示
答案 0 :(得分:0)
最后我能够解决这个问题,因为我怀疑这个问题是由于我曾经使用的CVS客户端。
请不要使用我的问题中所述的CVS客户端
http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-22.zip
而是从网站下面下载cvs客户端
在PATH变量中添加D:\ CVSNT,即使用CVSNT路径更新PATH环境变量(右键单击“我的电脑” - >“高级系统设置” - >“环境变量” - >编辑../新建.. - > PATH)
打开命令提示符以检查cvs客户端是否在路径中。输入cvs -version
C:\ test> cvs -version
Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2151 (client/server)
Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn,
Jeff Polk, and other authors
CVSNT version (Nov 14 2005) Copyright (c) 1999-2005 Tony Hoyle and others
see http://www.cvsnt.org
Commercial support and training provided by March Hare Software Ltd.
see http://www.march-hare.com/cvspro
CVSNT may be copied only under the terms of the GNU General Public License v2,
a copy of which can be found with the CVS distribution.
The CVSNT Application API is licensed under the terms of the
GNU Library (or Lesser) General Public License.
SSH connectivity provided by PuTTY:
PuTTY is copyright 1997-2001 Simon Tatham.
Portions copyright Robert de Bath, Joris van Rantwijk, Delian
Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry,
Justin Bradford, and CORE SDI S.A.
See http://www.chiark.greenend.org.uk/~sgtatham/putty/
Perl Compatible Regular Expression Library (PCRE)
Copyright (c) 1997-2004 University of Cambridge.
Licensed under the BSD license.
See http://www.pcre.org/license.txt
Specify the --help option for further information about CVS
cvs -z3 -f -d:pserver:username:password @ servername:2401:c:\ cvs \ dev -q checkout -d checkout IRM