注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

骇客归来

ぁ枫あ

 
 
 

日志

 
 

How to access a remote CVS repository.  

2007-09-27 14:21:42|  分类: cvs |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Procedure:

  1. Before a user can access a remote CVS repository, the CVSROOT must be set:

    set CVSROOT=:<protocol>:<username>@<ip-address>:<repository>

    If pserver protocol is used:

    set CVSROOT=:pserver:jjones@192.168.1.100:/CVSRepository

    If sserver protocol is used:

    set CVSROOT=:sserver:jjones@192.168.1.100:/CVSRepository

    Note: The ip-adress (or domain name) is where the remote CVS server is running.

    ATTENTION:

    If the CVSNT's Repository prefix feature is not used, for example the CVS location name is set to C:/CVSRepository, then you must use:

    If pserver protocol is used:

    set CVSROOT=:pserver:jjones@192.168.1.100:C:/CVSRepository

    If sserver protocol is used:

    set CVSROOT=:sserver:jjones@192.168.1.100:C:/CVSRepository

    CVSNT 2.0.51:

    CVSNT 2.5.03:

  2. After the CVSROOT is set, the user need to login first:

    cvs login

    You should see the following:

    Logging in to :pserver:jjones@192.168.1.100:2401:/CVSRepository

    CVS password:*******

  3. The user has now access to the CVS repository. To list all the directories in the CVS repository:

    cvs ls -l -R

  4. If a user wants to access another CVS repository, their is no need to set the environment variable CVSROOT:

    cvs -d :<protocol>:<username>@<ip-address>:<repository> login

    cvs -d :<protocol>:<username>@<ip-address>:<repository> ls -l -R

    As you have noticed you have to type in a lot of text.

    It is therefore recommened just to temporarily set the CVSROOT.

  评论这张
 
阅读(110)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017