jinsungy
jinsungy

Reputation: 10835

What URL should I use to connect to an SVN repository?

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-worker's computer. What should this URL be?

Upvotes: 10

Views: 87120

Answers (4)

iainmcgin
iainmcgin

Reputation: 2751

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

Upvotes: 22

Jeffrey L Whitledge
Jeffrey L Whitledge

Reputation: 59463

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.

Upvotes: 5

graham.reeds
graham.reeds

Reputation: 16476

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.

Upvotes: 1

Greg
Greg

Reputation: 321628

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

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

Upvotes: 1

Related Questions