Switching source control providers in VS prior to VS 2005


Back in 2003, Korby Parnell listed a couple of tools to switch source control providers.  The interesting one was Sourcecode Control Switcher by Soenke Schau.  It adds it self into the task tray to make switching providers really simple.  I didn’t try it, but it looks like it may be a good way to go

Another possibility is to create Windows shortcuts.  Make a pair of batch scripts each containing one of the reg command lines that Ed Hintz posted.  Then create Windows shortcuts to each batch script, perhaps on your desktop.  Right click on each and choose Properties.  In the Shortcut tab you’ll see a Shortcut key entry.  Click in it and press a key.  You could assign T (Ctrl + Alt + T) to the TFS MSSCCI provider and V (Ctrl + Alt + V) to the VSS provider.

Of course, you could also have batch files that launch VS after using the reg command line to set the provider as desired.

 

 

Comments (3)

  1. gduncan411 says:

    Another one that I also thought sounded cool was SCC Dispatcher (blogged it here, http://coolthingoftheday.blogspot.com/2005/06/scc-dispatcher-transparent-scc.html and here’s its direct URL http://www.pushok.com/soft_sccdispatcher.php)

    In short it’s a SCC proxy. You leave your machine pointed to it, and it helps you manage your different providers…

    "… It initializes multiple providers in parallel and then, after it determines which provider is really needed, redirects all communications to that provider. This allows implementation of transparent switching. In other words, you don’t have to check which provider is active now. You can just launch the IDE and open the project. SCC Dispatcher will automatically choose the correct provider for you. …"

  2. Martin Woodward give us his TFS Top Tip #4: The Command Line Client is your friend.

    Port 25 has a…