Click here to Skip to main content
Licence 
First Posted 23 Jan 2007
Views 18,328
Downloads 17
Bookmarked 14 times

Storing your Subversion Repositories in your IE Favorites List

By | 23 Jan 2007 | Article
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

About the Author

Phillip H. Blanton

Web Developer

United States United States

Member

I am a co-founder and CTO of ComponentScience Incorporated (www.ComponentScience.net); 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.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generalanother trick.. Pinmemberpauljenkins71415:11 29 Jan '07  
Generalno need to manually add the registry key PinmemberSteveKing19:52 23 Jan '07  
GeneralRe: no need to manually add the registry key PinmemberPhillip H. Blanton5:38 24 Jan '07  

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.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 24 Jan 2007
Article Copyright 2007 by Phillip H. Blanton
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid