Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted
Comments
Sergey Alexandrovich Kryukov 2-Apr-13 9:39am    
Do you mean Concurrent Versions System? Are you serious? It's been obsolete a long time ago...
—SA
amir tarek 3-Apr-13 1:56am    
yes i mean this
amir tarek 3-Apr-13 5:45am    
what is the alternatives?
Sergey Alexandrovich Kryukov 3-Apr-13 13:21pm    
A number of modern and MUCH better alternatives; but first of all, Subversion (SVN), which was designed to supersede CVS. Actually, virtually all teams used CVS in the past migrated to Subversion, or systems compatible with Subversion.
—SA

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
 
Share this answer
 
Comments
H.Brydon 3-Apr-13 14:08pm    
+5 but I think you left out the best link:

http://en.wikipedia.org/wiki/Comparison_of_revision_control_software
Sergey Alexandrovich Kryukov 3-Apr-13 14:11pm    
You are right; I just forgot to include this link, I though it was in one of my past answers, but now I'm not sure. You could add it as an answer.
Thank you very much,
—SA
amir tarek 4-Apr-13 3:19am    
really thank you for your answer
Sergey Alexandrovich Kryukov 4-Apr-13 9:14am    
You are very welcome.
Good luck, call again.
—SA
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.
 
Share this answer
 
Comments
amir tarek 3-Apr-13 2:02am    
when i tried this command cvs -d :pserver:amir:123456@192.168.1.111:/repository ir gave me the local cvs version and go infinity on the server version
H.Brydon 3-Apr-13 2:11am    
That means that port 2401 traffic is blocked between your machine and the server (which can also mean that the server is down or cvs misconfigured on it, or username/password is incorrect). Next step would be to login to the server, make sure that "cvs -d :pserver:amir:123456@192.168.1.111:/repository version" works there. Then you debug the network connection...
amir tarek 3-Apr-13 2:33am    
the login work fine from the local machine as remote command and from machine on the network
when i tried ssh using freessh.exe it connected to it and i can see it as online network user on freessh but return nothing for me

i think it is problem with port 2401 or cvs configuration but how the login work fine
amir tarek 3-Apr-13 3:52am    
i tried all this but i make the server has windows server 2003 instead windows 7 and it worked fine. why it works with windows server and do not work for windows 7?
H.Brydon 3-Apr-13 10:25am    
It is not clear to me that the cvs server is running correctly. When you are logged in to the server, can you connect with each of these:

cvs -d :local:/repository version
cvs -d :fork:/repository version
cvs -d :pserver:amir@192.168.1.111:/repository version
cvs -d :pserver:amir:123456@192.168.1.111:/repository version

If the pserver lines don't work, you don't have the server running correctly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900