Did you know that you don’t need a server and an IT department to use TortoiseSVN (Subversion) for version control? Simply create a local repository on your hard drive. Here’s how…
Step 1: Create your repository
- Browse to the location where you want to create your local Subversion repository and create a new folder for your repository, called “C:\svn_repository” (or similar).
- Now, right-click on this folder and select
TortoiseSVN>>
Create Repository Here…
- You will be presented with a dialog asking what type of repository you want to create. Choose the default settings, “Native filesystem (FSFS)”.

Step 2: Check out a working copy (sandbox)
- Browse to your projects folder, for example “C:\Projects“.
- Create a new project folder, for example “C:\Projects\My Project“.
- Right-click on this folder and select
SVN Checkout…
- Enter “file:///C:/svn_repository” as the URL of the repository and “C:\Projects\My Project” as the checkout directory (see screenshot, below).

Tip: you can browse to your repository folder by entering “file:///C:” as the URL of the repository and then pressing the
button, as shown below:

This will open a File Explorer dialog asking you to file your repository folder.
- Once you have specified the URL of repository and the checkout directory, press the “OK” button.
Congratulations, you now have a project under source code control!
Step 3: Adding files to your working copy
Let’s see how TortoiseSVN works..
- Add a new text file to to the “C:\Projects\My Project” folder.
- Right-click on it and choose
TortoiseSVN>>
Add..
- Right-click on it, again, and choose
SVN Commit.
- Now modify the file and choose
SVN Commit.
Fun, isn’t it?
Final Tips
- Tip #1: You’ll want to make backups of your repository folder (C:\svn_repository). You don’t need to worry about making backups of your project folders, since every version of your project files are stored in the repository.
- Tip #2: It is common to store multiple projects inside the same repository. We’ll talk more about the best way to organize your repository structure in a future article. Until then, have fun.
Using Subversion in LabVIEW? The JKI TortoiseSVN Tool for LabVIEW makes it easy by letting you use TortoiseSVN from inside your LabVIEW Projects and VIs.
Subversion and LabVIEW in the Enterprise : If your organization uses LabVIEW and you would like help deploying Subversion in your organization, consider hiring JKI to help get you started. You can contact us via our website.
Hi Jim,
Cool. I really like your Subversion articles. Keep them coming
Thank you so much! Makes sense after you explained how to get started.
Danny: You’re welcome. I’m glad the article helped.
Hi, First of all thanks for this great ariticle, i want to know one thing how to use svnserve as i want to create url of repository as svn + ssh and want to access it via network from another computer.
Thanks in Advance.
i am using windows XP.
irfan: I think that you will need to install cygwin to have an ssh server on windows. Check out this link: Setting up a Subversion server on Windows Server 2003. Good luck. Is there any reason why you want ssh instead of using apache to serve up svn over HTTPS/SSL?
hello jim,
Cool job .Great
Thanks!
Can you tell us more about Tip #2 (multiple projects in the same repository)?
Enrique,
You can organize your repository with multiple projects. Just create a structure like:
/trunk/projects/MyProjectA/
/trunk/projects/MyProjectB/
/trunk/projects/MyProjectC/
Cheers,
nice one. the hint for local paths helped a lot!
your article is basically the same as “Getting Started” in TortoiseSVN….now what about an exisiting folder with ONLY SELECTED files that I want to version-control ? can you show that ?
Hello,
We five friends are working on same project and our PC are connected with LAN.
so can u please explain me how can we used SVN ?
how to setup SVN fol LAN and also how to take project from Subversion Repository.
Hi Nikunj,
You might want to check out Visual SVN as a server for your team:
http://www.visualsvn.com/server/
-Jim