Mercurial Source Control Plugin for MS Visual Studio

  • VisualHG indicates file status within the project files tree of MSVC
  • Tracks adding, moving and renaming of file actions
  • Give you dialogs for committing changes, viewing detailed status of files and history and many more. Using TortoiseHG as its backend
  • Everything directly from your workspace via context menu and a toolbar
  • Compatible with MSVS 2005, MSVS 2008 and also MSVS 2010 RC
  • Support for Mercurial Subrepositories
  • Recogonize projects under version control that are not in the same folder as the solution
  • File status icon for renamed files
  • File state indicating tooltips
  • View per file branch label in file tooltip
See some screenshots

To learn more about Mercurial, TortoiseHG and VisualHG watch Rob Conery's excellent video tutorial

Contributions are most welcome! Contact me at VisualHG@Live.de.

To get started working with VisualHG is very simple.

  1. Download and install TortoiseHg and VisualHG.
  2. Open Visual Studio and go to Tools -> Options.
  3. In the options tree view, select Source Control. (You may need to click the Show all Settings checkbox)
  4. Select VisualHG from the drop down list, and click OK.
  5. Open your Mercurial based solution to see the plugin installed and determining your files' statuses.

Version History

1.0.9 bug fix release
  • 2010 specific only - VisualHG crashing on special files like Web References
  • VS2010 crashes with multiple repositories

1.0.8e
  • View Branch Label in VS Solution Explorer
  • BugFix: root directory sorter returns 0 if lengths are equal to prevent ArgumentException

1.0.8d Compatibillity update
  • Solution not under Mercurial Source Control
  • Icons don't get updated on commit

1.0.8c bug fix release
  • #5 Behavior change - Removing versioned project link is no longer tracked as file delete event.
  • #7 Behavior change - 'Excluding' versioned file from Project is no longer tracked as file delete event.
  • #1 Fix: HG.exe frequently locked. Limited number of bytes of the command line parameter to max 2048.
  • Introduced a new threading terminology to get rid of spawning hg.exe processes in some cases.

1.0.8b next tiny bug fix release*
  • Fix: does not found hg root directory in some cases

1.0.8a tiny bug fix release
  • VisualStudio temp files disabled from tracking (~RFxxxxx.TMP and ve-xxxx.tmp). These files may lock HG.exe under some conditions. (e.g. if status query is running and MSCV removes files at the same moment).
  • Fixed multiple hg.exe processes spawning after opening project.

1.0.8 Subrepositories
  • Support for Mercurial Subrepositories implemented
  • Recogonize projects under version control that are not in the same folder as the solution
  • File status icon for renamed files implemented
  • File state indicating tooltips implemented

1.0.7 is a bug fix release. Upgrading from previous versions is recommended
  • Thread eating callback-routine fixed. Performance improvements whilst solution build task realized by suspending status updates.
  • Folder rename tracking was incomplete because the watcher was disabled for build performance stuff. Now I changed this behavior by suspending the status updates whilst rebuilding process.

Moved the project from http://sharesource.org to here. If you are looking for previous versions or BugTracker entries you will find it here.

1.0.6
Changes

* 338 'Case folding' tracking and handling removed from VisualHG. This is because Mercurial for Windows is no longer case sensitive.

1.0.5
New Features
  • 332 View history for a single file.

Fixes
  • 338 visualhg-1.05.msi does not install (use 1.0.5a link)
  • 337 VS2008 Open Web Site - VisualHG functions do not work anymore
  • 336 Files added to project but ignored by .hgignore gets added to VCS
  • 335 No password prompt when doing a pull from synchronize command
  • 313 When opening a repository with Visual Studio, all files in this folder are being added to it automatically. (use ignore file to prevent files from automatically adding)

1.0.4

* Added Visual Studio 2005 support

1.0.3
  • Improved setup with some dialog elements
  • Glyph updates works now for all project types (not only C# and CPP)
  • Vista 64 Bit secured

1.0.2
  • Smarter icons for popup menus and glyphs
  • Status tracking and glyph updating improvements (internal).

1.0
  • Initial Version

Hi folks

I'm a fan of Mercurial source control system I want to use it for my own develoments. Unfortunately there was no MSVS Plugin found which works to my needs. So I decided to create my own one. It is based on Mercurial and TortoiseHg's HGTK library, which covers many of the UI components - thx for that cool stuff!! So, if you want to check out VisualHG, you have to install TortoiseHg first and then VisualHG. After that you will have a well working solution integrated into Windows Explorer and MSVS 2008.

Good Luck!
Bernd
Last edited Jun 24 at 6:20 PM by BerndSchrader, version 25

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Updating...
© 2006-2010 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.8.10.17093