views:

99

answers:

1

I have Visual studio 2008 running on windows-7(x86). I have installed subversion (server+client), tortoise svn and ankhsvn on my system. I could add my solution to subversion's repository using the url: File://c:/svn_repository/ But when I try "svn://localhost" I do not see any repository on my system.

My friend who is on the same LAN cannot see my repository.

What repository URL should I use for others in LAN to be able to see my repository?

+2  A: 
  1. Create a repository with svnadmin create <repos name>
  2. Make sure your sever is running (svnserve.exe) with sysinternals process explorer for example
  3. Check you can connect with tortoisesvn use svn://yourip as URL
  4. add AND commit your project either
  5. Your friend should also use the same URL
  6. Try out by using your hostname. NOTE: localhost IS NOT your hostname!!!
jdehaan
@jdehaan, 1.5) make sure that `<repos name>` is where `svnserve.exe` is expecting to find it.
Craig Trader
true (checking the arguments of svnserve.exe in process explorer) thanks for the precision.
jdehaan
Thanks for the "localhost IS NOT your hostname" :-)I used "svn://myip" and i could connect. If this is going to help anyone else, I would like to mention that no-one else on my LAN can connect to the repository, until I opened the relevant port using the firewall options on my system
Fiza
New problem: I am not able to write to the repository on another system. How can I access the repository with permissions from visual studio - ankhsvn (using Harry/Sally/custom_created username and password)?The error I see now is: "You faled to authorize against the remote repository"Both the systems are on LAN and we are not usig any domain setup. The subversion repository is on a windows Xp machine. I am trying to access it from a windows 7 machine
Fiza
should i open a new thread for this question?
Fiza