2007年1月29日星期一

远程登录CVS

#cvs -d :pserver:hzhu@192.168.252.83:2401/var/cvsroot login
enter your password
#cvs login
enter your password again
now you can use the CVS commands with pleasure like "cvs up -d -P"
 
Following is a simple example of mine
[root@devtest1 ~]# cvs -d :pserver:hzhu@192.168.252.83:2401/var/cvsroot login 
Logging in to :pserver:hzhu@192.168.252.83:2401/var/cvsroot
CVS password:
[root@devtest1 resources]# cvs up -dP
cvs update: authorization failed: server 192.168.252.83 rejected access to /var/cvsroot for user tester
cvs update: used empty password; try "cvs login" with a real password
[root@devtest1 resources]# cvs login
Logging in to :pserver:tester@192.168.252.83:2401/var/cvsroot
CVS password:
[root@devtest1 resources]# cvs up -dP
cvs server: Updating .
cvs server: Updating buildscript
cvs server: Updating catalog
cvs server: Updating catalog/css
U catalog/css/calaveras.xml
RCS file: /var/cvsroot/verican/resources/catalog/css/cssdemo.xml,v
retrieving revision 1.2
retrieving revision 1.4
Merging differences between 1.2 and 1.4 into cssdemo.xml
rcsmerge: warning: conflicts during merge
cvs server: conflicts found in catalog/css/cssdemo.xml
C catalog/css/cssdemo.xml
U catalog/css/jacksonville.xml
[root@devtest1 resources]#

朱恒
2007-01-30

没有评论: