Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use SVN without a server?

the idea is to use SVN (Tortoise) but, the thing is I dont have and dont want to use a server, cuz this will be used with only one person, is a college project.

I have an old computer that I could use to make a server, the idea is to use it like a server. What documentation should I read, or what should I do to make it happen?...

like image 980
Artemix Avatar asked May 30 '10 20:05

Artemix


People also ask

Does SVN need a server?

For Subversion to work, the SVN setup needs two main elements: The server, which has all versions of all source files. A local copy of the files, which is on your computer.

Can you work offline with SVN?

In SVN offline mode, the implicit locking and all commands that access the SVN repository are not possible.

How do I access SVN from browser?

Connecting with your browserNavigate to the Subversion page. Under the list of current projects, click the link for your repository. An authentication pop-up box then appears: Use the username and password you created when setting up the repository.


Video Answer


3 Answers

You can access the repository using file:// protocol so you will only need Tortoise SVN installed and nothing else. See this question in FAQ: Is it possible to use TortoiseSVN without a server?

You can even have the repository in the usb device so that you can take the source with you and work on in from other computers.

like image 52
Giorgi Avatar answered Oct 07 '22 19:10

Giorgi


  1. Install TortoiseSVN, right-click on a folder, choose Create Repository Here

  2. Right click on another folder, choose SVN Checkout, and specify the folder from step 1 above for the URL Repository. The first folder is your repository and the second -- is the working copy.

like image 26
Stop Putin Stop War Avatar answered Oct 07 '22 17:10

Stop Putin Stop War


Access your repository using file:// or, alternatively, use svnserve. From Svnserve Based Server:

Subversion includes Svnserve - a lightweight stand-alone server which uses a custom protocol over an ordinary TCP/IP connection. It is ideal for smaller installations, or where a full blown Apache server cannot be used.

The mentioned link provides installation instructions (actually, svnserve is part of subversion, there is nothing special to install). You can learn more in the official documentation.

like image 36
Pascal Thivent Avatar answered Oct 07 '22 17:10

Pascal Thivent