How to checkout project from head using CVS command using windows command prompt -
i searched extensively resolve issue, not find solution.
requirement: need checkout adm project head.
cvs server name: cvs02dv (cvs installed on windows)
cvs server directory: c:\cvs\dev (the location files can accessed using eclipse or cvs client tool smartcvs)
project checked out head: adm
using eclipse can access files using pserver:user@cvs02dv:c:\cvs\dev
i downloaded cvs client below site, unzipped in d:\vinu\installedsw\cvsclient directory.
http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-22.zip
command used checkout window command line:
d:\vinu\installedsw\cvsclient>cvs -d:pserver:usera@cvs02dv:c:\cvs\dev co adm
error:
cvs checkout: cvsroot requires 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'.
appreciate hint
finally able resolve issue, suspected issue due cvs client had used.
please not use below cvs client stated in question
http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-22.zip
instead download cvs client below site
- install cvs client using above link, installed in d:\cvsnt directory
add d:\cvsnt in path variable, i.e update path environment variable cvsnt path (right click on computer -->advanced system settings --> environment variables -> edit../new.. --> path)
open command prompt check whether cvs client in path. enter 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, , other authors cvsnt version (nov 14 2005) copyright (c) 1999-2005 tony hoyle , others see http://www.cvsnt.org commercial support , training provided march hare software ltd. see http://www.march-hare.com/cvspro cvsnt may copied under terms of gnu general public license v2, copy of can found cvs distribution. cvsnt application api licensed under terms of gnu library (or lesser) general public license. ssh connectivity provided putty: putty 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, , 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 bsd license. see http://www.pcre.org/license.txt specify --help option further information cvs
- execute command:
cvs -z3 -f -d :pserver:username:password@servername:2401:c:\cvs\dev -q checkout -d checkout irm
Comments
Post a Comment