Windows上的CVS服务器 [英] CVS Server on windows

查看:88
本文介绍了Windows上的CVS服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的计算机有windows xp



i install cvsnt就可以了,我在c:\ test_repository创建一个存储库



i连接到它本地导入一个程序给它更新并提交它



一切正常工作



现在我想访问这个仓库。来自网络上的另一台计算机



i使用pserver方法



i首先尝试在本地访问它/>


i尝试在本地导入然后我试图在网上查看它需要alooooooooooot的时间没有回答我试图通过网络共享文件夹并重试但没有区别< br $>


i试图设置home = C:或Root = c:但是同样的错误发生了



什么是请问这个解决方案吗?



另外一件奇怪的事情我卸载cvsnt并删除所有存储库



然后安装更新版本并创建一个新的存储库test_repo



当我尝试从远程计算机登录到存储库时它失败并说当我尝试尝试时这不是这样的存储库登录到旧的存储库test_repository虽然我删除了它成功了怎么办?

解决方案

你不应该共享存储库。这会给你带来很多问题。真正最好的计划是保护存储库目录,使其只能从cvs服务器访问,再加上备份所需的任何管理访问权等。



pserver方法使用IP端口2401.这对我来说完美无缺。我的猜测是你有一个防火墙问题,其中端口2401被阻塞在网络的某个地方。此端口阻塞可能发生在许多地方:机器本身,其他计算机或两台计算机之间的任何网络防火墙。您需要查看防火墙日志以查看阻塞发生的位置。



此外,您可以通过更简单的方法测试连接。只需要求版本:



 cvs version 





这应该为您提供本地计算机和服务器上的cvs / cvsnt版本。


Amir Tarek写道:

有什么替代方案?





请参阅我对答案的评论。



请参阅此讨论(包括我的答案,但不仅仅是它):修订控制系统,可供选择? [ ^ ]。



有关详细信息,请参阅我过去的答案:

需要一些wisedom的话来设置和/或使用服务器 [ ^ ],

制作一个不可点击的表格 [ ^ ],

我如何构建在创建新解决方案时安排源代码 [ ^ ],

Apache Subversion的评论 [ ^ ]。



-SA

i have a computer that has windows xp

i install cvsnt on it and i create a repository in c:\test_repository

i connected to it locally import a program to it updating and committing it

every thing work fine

now i want to access this repo. from another computer on the network

i used the pserver method

i tried first to access it locally

i tried to import locally and then i tried to check out online it take alooooooooooot of time with no answer i tried to share the folder over the network and try again but no difference

i tried to set home=C: or Root=c: but the same error happened

what is the solution here please?

another strange thing i uninstall the cvsnt and delete all repositories

then install newer version and create a new repository test_repo

when i try to login from remote computer to the repository it fail and say this is not such a repository when i tried to try login to the old repository test_repository although i deleted it it succeeded how?

解决方案

You should not share the repository. This will cause a lot of problems for you. Really the best plan is to protect the repository directory so that it only has access from the cvs server, plus any administrative access required for backups etc.

The pserver method uses IP port 2401. This works flawlessly for me. My guess is that you have a firewall issue where port 2401 is blocked somewhere in your network. This port blocking can occur in a number of places: on the machine itself, on the ''other'' computer or on any network firewall between the 2 computers. You will need to look at firewall logs to see where the blockage occurs.

Also, you can test the connection by a much simpler method. Simply ask for version:

cvs version



This should give you the version of cvs/cvsnt on your local machine and on the server.


Amir Tarek wrote:

what is the alternatives?



Please see my comments to the answer.

Please see this discussion (including my answer, but not just it): Revision control systems, which to choose from?[^].

For some more detail, please see my past answers:
Needs some words of wisedom to set up and/or use a server[^],
Make an unclickable form[^],
How can i structured to arrange source code when i create a new solution[^],
Reviews at Apache Subversion[^].

—SA


这篇关于Windows上的CVS服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆