Mercurial source code control package

(29) Review
Visual Studio
2015, 2013, 2012
Download (35,237)
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Reviews (29)
Q and A (12)
Sign in to write a review
Sort by:

by Johan van Tonder | June 17 2016


No need to do anything outside the IDE :) I would have liked if it could invoke the TortoiseHG dialogs from within the IDE, but that's a nice to have.

Good work!

by Jitbit1 | August 19 2015

Love it. Good to see it more-or-less up to date and development continues.

Bolshoe spasibo Sergey, super!!
(that is Russian for "thanks Sergey" if anyone interested :)

by David Illescas | August 07 2015

Awesome. It also looks good with the vs dark theme.

by Rikker Serg A | April 13 2015

by Dmitriy Iassenev | March 02 2015

1. after installation my mercurial.ini became corrupted: the last section letters were "eaten": [alias] => [alia], [web] => [we], etc.
2. I miss history and annotate menu items when right clicking on an open document (like in VisualHG), not only in Solution Explorer

by chrsmrtn | February 05 2015

Amazing tool! Integration is perfect and very familiar for those that have used Visual Source Safe. Super excited to see on going support. Thanks everyone!

by Vincent Sa | March 26 2014

Very complete tool, it replaces TortoiseHG. One thing I like is that it allows to compare 2 differents version of a file from the file history (not possible in TortoiseHG from the file history view) and that you can use the tool you want to do the comparison as WinMerge and that you can do a search from these tools (not possible from the TortoiseHG comparison tool)

by Dato0011 | January 10 2014

by Bill From AZ | October 07 2013

Installed without a hitch, and I was able to create a BitBucket repo according to my standard workflow (create project, code for a while, get scared because of all the work I would lose if my disk crashed, create repo on BB, commit and push project to BB from VS).

by Vitёk | July 19 2013

by flybumtoo | July 09 2013

I've been using Git & Git Extensions for over a year. Switched to Mercurial, TortoiseHg and this tool. So far Mercurial and these tools are so much nicer than the Git stuff.

by Dzmuh | June 08 2013

by Haddicus_ | April 10 2013

Does not have 'pending changes' window to easily commit items that are needed to be pushed to the repository. Huge drawback, bug/feedback section states others had same issue, author provided no support in integrating this. Ended up moving to VisualHG, works great and has the window.

by Kolimbo | April 03 2013

by praetorian20 | January 20 2013

by AviD | November 15 2012

by Kyr0ss | November 01 2012

by CAD bloke | August 15 2012

Nice integration. I prefer it over VisualHg which I used to use a lot. This has evolved into a great package.

by evok | April 04 2012

Just fine for what I need it for. I only wish that it had a way to use the mercurial shelve plugin. That is so far the only thing I ever need to use the console anymore for mercurial. Add that and this is perfect!

by aag031 | March 13 2012

Installator works strange it start and immediatelly completed without any dialogs as ussually. But plugin has been installed. Seems to me it works
User cannot easy understand is product installed or not installed.
At least simple dialog that notify about installation status

1 - 20 of 29 Items   
Sign in to start a discussion

  • HgScc no longer working
    2 Posts | Last post May 18, 2016
    • I'm getting the error "HgSccPackage is unable to check a mercurial client version.  You must have a mercurial client (hg.exe) v2.1.1 or higher installed...."
      I can't find a hg.exe anywhere on my machine or hg.bin.  When I try to call hg.exe from commandline, it tells me to use thg (TorgiseHg) instead which does work.  I checked that my system environment variable path includes a reference to "c:\program files\TortiseHG\" where is my thg.exe resides.  I know at some point i was able to call hg from command line, so I'm not sure why I can't now suddenly and how I would have lost hg.exe.  I didn't update tortiseHg, but i did recently update my Kiln client.  Not sure if this is what caused the problem.  But I can no longer use HgSccPackage in Visual Studio 2015 as I could before.  Please advise.  Thank you.
    • Try to download and install a more recent version of TortoiseHg (bundled with hg.exe). I've just installed it and it have a hg.exe client in TortoiseHg folder.
      You can get it here:
      If that will not work for some reason, you can also try to install a standalone mercurial client:
  • You must have a mercurial client (hg.exe) v2.1.1 or higher installed.
    3 Posts | Last post February 16, 2015
    • Hi,
      I have installed the latest Mercurial (3.3) and VS2012 Professional Update 4.
      After installing HgSccPackage and setting according to instructions all works right.
      Once closing the VS and reopen it, I'm getting the following message:
      HgSccPackage is unable to check a mercurial client version.
      You must have a mercurial client (hg.exe) v2.1.1 or higher installed.
      You can get it from mercurial.selenic.com.
      and cannot use anymore the HgSccPackage through VS, till uninstalling and reinstalling where the scenario above happens again.
      Thanks in advanced.
    • Today, after a restart it works as expected. Not sure what went wrong.
    • HgSccPackage uses PATH environment variable to search for mercurial client executable (hg.exe).
      Some installers (for example TortoiseHg installer) do not notify a system about environment variable changes. So, when you launch a programs they see "old" environment variable values.
      Also, a child process inherits his environment variables from a parent process.
      Safest way to update a environmet variables is a system reboot.
  • VS2012 install failure
    2 Posts | Last post February 12, 2015
    • Hi, I have mercurial 3.2.4 installed on 64 bit win pro 8.1. I uninstalled VisualHG to try HgSccPackage but I cannot select it as a source control provider. Apparently it "did not load correctly" and the log shows this:
          <description>CreateInstance failed for package [SccProvider]</description>
          <errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.12.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.</errorinfo>
      Any thoughts on what I can do?
    • There were a bug in HgSccPackage v2.0, it references shell library v12 (from VS2013).
      You can get a fix here:
      I will release a fixed version via gallery soon (today evening or tomorrow).
  • Cannot select HgScc as Source Control
    3 Posts | Last post October 03, 2014
    • Hi.
      I've installed HgScc and it's shown in Source Control selection.
      However, I cannot select it, as I get an error message.
      Activity log says:
      End package load [HgSccPackage.SccProvider, HgSccPackage, Version=1.9, Culture=neutral, PublicKeyToken=null]
      80004005 - E_FAIL
      Exception has been thrown by the target of an invocation.
    • The only way I can think it can fail is that it can not parse PATH environment variable for some reason.
    • This still happens with version 2.1.0. The problem is, that only the PATH environment variable for the system exists. The PATH for the user isn't specified yet. The workaround is to create a PATH for the user with a value of "." (without quotation marks).
  • Hang when adding and then renaming a file to a solution
    1 Posts | Last post September 20, 2013
    • Using VS2012 on Win8 64 bit:
      If I add a file to an existing solution that is under SCC with HgSccPackage it appears in the solution with the little yellow indicator. So far so good. If I try to rename that file, the file rename occurs but then VS hangs with 25% CPU utilization with the spinning wait icon and never returns control to the user. I have to kill the process. On restart, the file is still in its original name in the solution although the on disk name has changed. I have to delete the reference and reinsert by adding an existing item.
      The same sequence of actions in a solution that is not under SCC works.
  • Does not install on VS 2013
    1 Posts | Last post July 09, 2013
    • I realize it states VS 08 through 12. Hoping VS 13 will be an easy fix!
  • Cannot install - VS2012/Windows 8
    4 Posts | Last post May 08, 2013
    • I'm getting the "You must have one of MS Visual Studio 2008/2010/11 installed, standard edition or higher." error with VS 2012 Professional under Windows 8.  Any ideas where to start looking for the problem?
    • HgSccPackage installer looks in the registry to detect installed VS editions.
      For the VS2012 it uses:
      It should point to devenv.exe location.
      Can you make an installation log with folowing command and send it to me ?
      msiexec /i "C:\Downloads\HgSccPackage.msi" /L*v "C:\Downloads\hgscc_log.txt"
      (change C:\Downloads to the path, where you extracted the hgsccpkg190.zip)
      Also, here is a HgSccPackage issue tracker with similar issue:
    • I also have problems with installing the package -- VS simply does not see it (does not enlist it in the list of available SCCs).
      I see I don't have the above key in the registry. I use VS 2012 Premium...
      Thanks for any help,
    • Nevermind... Service Pack 2 fixed it.
  • Doesn't install with VS 2012 Express
    2 Posts | Last post January 02, 2013
    • Hi,
      I tried to install HgScc under Windows 8 (32 bits) with Visual Studio 2012 Express for Windows 8 and the installation process refused with error message:
         You must have one of MS Visual Studio 2008/2010/11 installed, standard edition or higher.
      Any way to have HgScc working with Express version ?
    • Hi,
      MS Visual Studio Express editions does not support third party source control plugins.
      So, there is no way to work with HgScc in Express edition.
  • VS 2012
    3 Posts | Last post September 19, 2012
      I use this great tool in VS 2010 but it doesn't seem to be available in VS 2012 as a source control provider.  
      Anything I'm missing to get it to work?
    • The HgSccPackage detects available MS Visual Studio editions on package installation.
      So, you need to reinstall the HgSccPackage (uninstall/install) and it will detect and register to VS 2012.
    • Thanks that worked!
  • Selecting the SCC addin fails
    1 Posts | Last post January 04, 2012
    • I have both Team Explorer 2010 (with latest SP and TFS Service update) installed next to the HgSccPackage plugin. When I select the plugin I receive an error message.
      The Visual Studio Activity log shows:
      1180  Entering function CVsPackageInfo::HrInstantiatePackage {A7F26CA1-2000-4729-896E-0BBE9E380635}  VisualStudio 2012/01/04 12:58:49.437 
      1181  Unexpected system error mode before loading package [HgSccPackage.SccProvider, HgSccPackage, Version=1.8.5, Culture=neutral, PublicKeyToken=null] {A7F26CA1-2000-4729-896E-0BBE9E380635}  VisualStudio 2012/01/04 12:58:49.437 
      1182  Begin package load [HgSccPackage.SccProvider, HgSccPackage, Version=1.8.5, Culture=neutral, PublicKeyToken=null] {A7F26CA1-2000-4729-896E-0BBE9E380635}  VisualStudio 2012/01/04 12:58:49.453 
      1183 ERROR CreateInstance failed for package [HgSccPackage.SccProvider, HgSccPackage, Version=1.8.5, Culture=neutral, PublicKeyToken=null] {A7F26CA1-2000-4729-896E-0BBE9E380635} 80131604 VisualStudio 2012/01/04 12:58:49.484 
      1184 ERROR End package load [HgSccPackage.SccProvider, HgSccPackage, Version=1.8.5, Culture=neutral, PublicKeyToken=null] {A7F26CA1-2000-4729-896E-0BBE9E380635} 80004005 - E_FAIL VisualStudio 2012/01/04 12:58:49.500 
      1185 Warning Package failed to load; error message suppressed by skip flag {A7F26CA1-2000-4729-896E-0BBE9E380635}  VisualStudio 
1 - 10 of 12 Items