Sunday, February 10, 2013

Mercurial / Klin / TortoiseHG Toolbar for Visual Studio


Who should read this article:

Do you work with visual studio & Tortoise HG?
Is it tedious switching between VS & Mercurial HG ?
Would you like to manage your Mercurial Source Control files directly from visual studio ?


Here is the answer : Use Mercurial Toolbar v2 !

Mercurial Toolbar v2

You can do following actions directly from the toolbar:

  • Commit : Commit changes : Opens Commit Window
  • Log : Browse the repository : Opens Workbench 
  • Revert : Revert Changes : Opens revert windows with list of all modified files
  • Sync: Synchronize Changes : Opens Sync window 
  • Update : Opens Update window
To install this window in visual studio, do following:

à Visual Studio à Tools à Extension Manager à Online Gallery à Search "Mercurial Toolbar V2"  à Download / Install MTv2 à Restart VS 

//You will have one new toolbar available in the toolbar menu - make sure you select it
// additionally use the add remove button of toolbar, find customize, select the toolbar button and you can choose to show the image & text of button .

See this in action

click on this link to to see a video to install / configure the Mercurial toolbar .


Hope this helps , Happy Coding !

-Baljeetsingh