Latest blog entry: cakePHP

Here are some tips from newbie to newbie, with problems and their solutions as I came across them whilst testing the cakePHP framework. Read more... (1 Comments)

Versioning a la Windows...for free

Back to Blog index

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.

  1. Download TortoiseSVN from http://tortoisesvn.net/downloads (I used the msi installer)
  2. Install it and restart your system.
  3.  Somewhere in out htdocs folder (or www if you aren't using XAMPP) we create a new folder (I called mine svn)
  4. Right click on the folder we just created and we now have a new context menu entry called TortoiseSVN. Select Create repository here.
  5. 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
  6. Open up your Windows Explorer and browse to the folder you would like to import.
  7. Right click and select Import Select the URL of your repository (Example: file:///C:/xampp/htdocs/svn/project1/ ) and click OK
  8. 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.
  9. To copy all the files, select the top folder, right click and select checkout.
  10. In this case I used file:///C:/xampp/htdocs/svn/project as the URL and the checkout directory.
  11. 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

  • Required fields are marked with *.

If you have trouble reading the code, click on the code itself to generate a new random code.
Security Code:  

Back to Blog index