views:

168

answers:

4

On my subversion client (cornerstone), when connecting to a new SVN repository I have 3 options: File repository, HTTP Server and SVN Server.

Is the difference only in the protocol used to communicate ?

+4  A: 

Yes. SVN can be accessed through HTTP/WebDAV with the mod_dav_svn Apache module. Other than the protocol difference, it supports the same operations.

You can read more about this configuration in the Subversion book.

Nick Meyer
+2  A: 

Yes protocol should be the only difference. See the section titled http://en.wikipedia.org/wiki/Subversion_(software) 'repository access'.

If your concerned about security try to use the https if you choose the http server option or the svn+ssh protocol if you choose the svn server option.

Andrew
+3  A: 

The (free online) SVN Book has a good description of the different server protocols and recommendations for when each should be used.

Tim Henigan
A: 

The difference is in the protocol, but if you choose HTTP, you do have some extra possibilities, i.e. you can access your repository with a web browser or WebDAV client. So strictly spoken you don't need to install svn client software to consult the repository (although as soon as you want to do anything useful you obviously do need a real svn client).

jeroenh