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.

Introduction

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.

Wheee!

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...

HKEY_CLASSES_ROOT
 |
 -- 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.

License

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

Share

About the Author

Phillip H. Blanton
Architect Hewlett-Packard
United States United States
No Biography provided
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
Generalanother trick.. Pinmemberpauljenkins71429-Jan-07 16:11 
Generalno need to manually add the registry key PinmemberSteveKing23-Jan-07 20:52 
GeneralRe: no need to manually add the registry key PinmemberPhillip H. Blanton24-Jan-07 6: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 | Terms of Use | Mobile
Web04 | 2.8.150305.1 | Last Updated 24 Jan 2007
Article Copyright 2007 by Phillip H. Blanton
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid