tags:

views:

6084

answers:

5
+1  Q: 

SVN URL Format

I have TurtoiseSVN and ankhSVN installed. I created a repository on my computer.. "C:\Documents and Settings\user1\My Documents\Subversion\Repository\"

I am trying to connect to this repository from my co-workers computer. What should this URL be?

Any help would be great. Thanks.

A: 

Try svn://xxx.xxx.xxx.xxx/Repository/

The default port is 3690 if you have a firewall to configure.

Greg
+1  A: 

Off the top of my head...

svn://YOURCOMPUTERNAME/repository/project/trunk

or

svn://xxx.yyy.zzz.www/repository/project/trunk

Don't forget to open the firewall if you are running on WindowsXP.

graham.reeds
A: 
file:///\\COMPUTERNAME\SharedFolderName\

I probably don't have the slashes right, but it's something crazy like that.

Oh, and he'll have to create a folder share. That would be the easiest way to do it.

Jeffrey L Whitledge
I really think my file-system solution is simpler than setting up a whole Apache server, but whatever.
Jeffrey L Whitledge
I don't see anything wrong, anyway. Except that it should be "you'll have to create a folder share", not "he".
Lev
Ah, yes. I got that part backward.
Jeffrey L Whitledge
+5  A: 

You will need to run the svnserve daemon on your computer, or run an apache server with the necessary modules, to allow your colleague to access this locally stored repository. For a simple case like this I would recommend svnserve, it should be simpler to configure and run.

The url would then be:

svn://<your_ip>/<repository_name>

As opposed to an http or file protocol URL for apache and local filesystem based repositories.

Read this page for details on how to set up svnserve it on Windows:

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html

iainmcgin
I ended up installing svnserve as a windows service.. thanks for the help!
jinsungy
A: 

I have tried the suggestion of URL svn://ip/repository using SmartSVN Client on my mac and the repository resides in a windows XP machine that I have on the same network. I also turned of the firewall but it still does not work. On the windows machine I have svnserve running as a daemon using a utility which takes care of this and the repository is in C:/SVNRepo/MyRepository/. I changed the svnserve config file so that I use the passwd file where I put my login and password pair.

Any help would be greatly appreciated.

Thanks Eloy