Chun Zhu's Homepage

How to use subversion (SVN) on local machine with WINDOWS OS.

Apache Subversion (often abbreviated SVN, after the command name svn) is a software versioning and a revision control system founded and sponsored in 2000 by CollabNet Inc. (from wikipedia)

TortoiseSVN is a Subversion client, implemented as a Microsoft Windows shell extension. It is free software released under the GNU General Public License.

Install TortioseSVN from http://tortoisesvn.net/downloads

Choose a local folder to be the repository for back-up. Here I use the folder x:\SVN

Right click on SVN. You will find some new pop-up menu items after you installed TortoiseSVN.



Make a new folder on your local drive to be the back-up location and right click on it, choose SVN Checkout…

The URL is the location of SVN folder on the drive or you can use a folder mapped from a netdrive:

This is first-time checkout. The version is 0.

Copy the folder you need to back-up under the local back-up folder.

Right click on the local back-up folder.

Add commit message:

Version changes to 1.

Add an empty file readme.txt and commit again.

Version changes to 2.

Modify readme.txt and commit again.

Version changes to 3.

Now right click on readme.txt. You can try out these options. You can compare the difference between any two versions or recover any previous versions.

Make a Free Website with Yola.