Click here to Skip to main content
Click here to Skip to main content

Storing your Subversion Repositories in your IE Favorites List

, 23 Jan 2007
Rate this:
Please Sign up or sign in to vote.
How to register the "svn" protocol and create Subversion links in your IE Favorites list.


I have a list of 35 Subversion repositories that I need from time to time. It is printed up and stapled to the wall next to my monitor. Today, I was thinking that it sure would be nice if I could keep those in my IE Favorites list. Unfortunately, when I tried to add one, IE said it didn't know how to handle the svn protocol. A little digging led me to an MS site with instructions on how to register a new protocol with the OS.

I followed the steps and registered the svn protocol to TortoiseProc.exe. Now, IE launches the Repo-Browser and attaches to the desired repository when I click on a shortcut that contains a svn://... URL in my Favorites list.


The steps are outlined below. If you don't want to perform the steps yourself, you can download the reg file to do it for you. The reg file is just a text file, and if you don't trust me, you can open it up in a text editor and see for yourself that it is benign.

First, register the svn protocol on your system. Currently, the OS doesn't know about svn, so it needs to be registered as a protocol.

  • In the Registry, under HKEY_CLASSES_ROOT, create a new key named "svn".
  • Under the "svn" key, create two new keys: "DefaultIcon" and "shell".
  • Under "shell", create "open", and in there, create "command".

Your key tree should look like this...

 -- svn
    -- DefaultIcon
    -- shell
        -- open
            -- command
  • In the (default) value under svn, set data = "URL:SVN Protocol".
  • In the (default) value under DefaultIcon, set data = C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe.
  • In the (default) value under command, set data = C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe /command:repobrowser /path:"%1".

Next, browse to your Favorites directory and create a folder called "Subversion Repositories". In that directory, right click and select "New | Shortcut".

  • In the location box, type the svn://... URL to the repository and click Next.
  • Give the new shortcut a useful name, and click Finish.

Now, when you open up your Favorites in IE, there will be a folder called "Subversion Repositories". When you click on one, it launches Repo-Browser and connects to the desired repository.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Phillip H. Blanton
Web Developer
United States United States
I am a co-founder and CTO of ComponentScience Incorporated (; where my time is spent designing and developing component libraries for the Microsoft .NET framework.
I first began programming DOS-based, multiuser point of sale systems in 1989 using C and Turbo Pascal. I dabbled in Windows programming with OWL, and took it up full-time with the release of Delphi 1.
Before co-founding ComponentScience, I was employed as a senior software engineer with TurboPower Software Company, where I helped to create award-winning UI component libraries for Borland Delphi and C++ Builder. Now I am a 100% dot net junkie.

Comments and Discussions

Generalanother trick.. Pinmemberpauljenkins71429-Jan-07 15:11 
Generalno need to manually add the registry key PinmemberSteveKing23-Jan-07 19:52 
GeneralRe: no need to manually add the registry key PinmemberPhillip H. Blanton24-Jan-07 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140709.1 | Last Updated 24 Jan 2007
Article Copyright 2007 by Phillip H. Blanton
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid