HgSccPackage

Free

Mercurial source code control package

(24) Review
Visual Studio
2013, 2012, 14
Download (23,122)
2/12/2015
2.0.1.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (24)
Q and A (11)
Sign in to write a review
Sort by:

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

by mobilepalm2 | September 04 2011

Works perfectly for me. Thanks zz-sergant!

by MarkMarioHarris | April 12 2011

it has a few minor issues with adding new projects to an solution but does not get in the way.

by Vladimir Perevalov | March 29 2011

Very good plug-in, use it daily. I have never seen any real bugs.

by John Gates | May 18 2010

too buggy

by Louis Zhuang | April 23 2010

very useful

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


  • 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 2.0.1.0 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>
          <hr>80070002</hr>
          <errorinfo>Could not load file or assembly 'Microsoft.VisualStudio.Shell.12.0, Version=12.0.0.0, 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:
      https://bitbucket.org/zzsergant/hgsccpackage/issue/100/v20-does-not-work-on-visual-studio-2012#comment-15641148
      
      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]
      {A7F26CA1-2000-4729-896E-0BBE9E380635}
      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:
      HKLM\SOFTWARE\Microsoft\VisualStudio\11.0\Setup\VS\EnvironmentPath
      
      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:
      https://bitbucket.org/zzsergant/hgsccpackage/issue/72/does-not-install-plug-in-to-visual-studio
      
    • 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,
      Roland
    • 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 ?
      
      Regards,
    • 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 
      
  • IIS Authentication
    2 Posts | Last post September 12, 2011
    • Hello we are trying to connect HgScc via IIS7.5 and basic authentication.
      On command line mercurial has access to the server, HgScc does not!
      
      Our failure message:
      "[Clone started]
      
      [Error: abort: http authorization required]
      
      [Operation completed. Exit code: 0]"
      
      best regards, Martin!
    • In the HgSccPackage you can use "Authorization Options" in the clone window to specify your credentials. On the successfull clone the credentials will be saved in the .hg/hgrc file.
      
      If you don't like to store a credentials in the .hg/hgrc file (as plain text), then you can use "auth" section of the mercurial configuration file (in user's home folder): http://www.selenic.com/mercurial/hgrc.5.html#auth
      
      You can add/edit/remove a remote paths with credentials for existing reposity in the 'Synchronize' window using a 'Settings' button on the toolbar.
1 - 10 of 11 Items