| 参见这个Blog:[url]http://leosky.mblogger.cn/posts/9852.aspx[/url]
 
 eclise与cvsnt的连接问题
 在windows下用cvsnt作为cvs服务器
 
 如果在他的service control中设置Repositories设置name为/cvs  root为c:cvsRepository
 
 那么像wincvs这样的客户端在连接时以name作为连接
 
 cvs -d :pserver:administrator@localhost:/CVS login  可以成功登陆
 
 但是在eclipse下以/cvs为repository path时,会出现以下错误
 
 Error validating location: "CVSNT repository :pserver:foo@localhost:/CVS is
 configured to use a repository prefix. However, CVSNT does not always properly
 communicate resource paths in this mode resulting in the failure of some
 specialized Eclipse CVS operations. The use of a repository prefix should be
 disabled if the full functionality of the Eclipse CVS client is desired.
 
 原因是
 
 Eclipse makes use of the path information in text messages recieved from the
 server. The messages contain the full path of the resource (e.g D:cvs
 oot).
 If a reposiory prefix(就是那个/) is used, it is impossible to know for sure how to map
 the full name to the shortened prefix. The workaround is to configure CVSNT to
 use full repository paths (i.e. disable the use of a prefix).
 
 
 另一个解决方法是在cvsnt的service control中在advanced将pretend to be
 
 a unix cvs version的勾选上,就可以了
 |