Versioning a la Windows...for free
I finally took the plunge , and decided to install a versioning Software for when everything goes wrong and I need to revert . I decided to go with Tortoise SVN and it's pretty easy to get your head around. I wish I had done it earlier. The one problem I did have was with the documentation. It seemed to be written for people who have been using some type of Versioning software all their lives. Even though Google got me most of my answers , one problem I had was setting up a repository and importing a project from somewhere else. Just for you information, I am using XAMPP on Windows XP, but I don't think that will play a large role when it comes to using Tortoise.
- Download TortoiseSVN from http://tortoisesvn.net/downloads (I used the msi installer)
- Install it and restart your system.
- Somewhere in out htdocs folder (or www if you aren't using XAMPP) we create a new folder (I called mine svn)
- Right click on the folder we just created and we now have a new context menu entry called TortoiseSVN. Select Create repository here.
- I wanted to keep all my SVN'ed projects in one place, so I created a folder for each project, as documented http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-import.html
- Open up your Windows Explorer and browse to the folder you would like to import.
- Right click and select Import Select the URL of your repository (Example: file:///C:/xampp/htdocs/svn/project1/ ) and click OK
- Now if we open up the repo-browser (Right click our repository and select repo-browser) we will see that the project is there, even though we can't see it in the windows explorer.
- To copy all the files, select the top folder, right click and select checkout.
- In this case I used file:///C:/xampp/htdocs/svn/project as the URL and the checkout directory.
- Confirm with OK, and you should be able to see the files in windows too, and they should now all have cute little green ticks.

Write a comment