How to use SVN without a server?
th开发者_如何学运维e 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?...
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.
Install TortoiseSVN, right-click on a folder, choose Create Repository Here
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.
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.
If you want to use an old workstation as an SVN server, I strongly recomend VisualSVN Server. Its free and dead simple to install. I have a workstation at home running it myself.
But if you are going to be the only one using it, and only from one workstation, then go with file:// protocol answer from Giorgi.
Using git is a perfect solution for your problem. It is an distributed version control system and ideal for one person project.
You can also use your computer as a server without any installation.
精彩评论