Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Mercurial with Visual Studio 2010 [closed]

Tags:

I am currently using Mercurial via Tortoise Hg for some of my side projects. I was wondering if there is tighter integration of Mercurial with Visual Studio 2010 via a plugin or some similar mechanism. What I'm thinking about is very similar to the git extensions which provide a plugin for VS. The plan is to eventually host the projects on Codeplex which supports Mercurial.

like image 889
λ Jonas Gorauskas Avatar asked Jun 24 '10 10:06

λ Jonas Gorauskas


4 Answers

sure there is visualHG which works for 2005 to 2013 including 2010 .

another alternative (useful if you are in an environment where you don't have control over what is installed) is to use VS's external tools menus/buttons to launch tortoiseHg windows via thg

like image 190
jk. Avatar answered Sep 21 '22 15:09

jk.


I've been using hgscc recently, and it works pretty well. It has a similar interface to TortoiseHG and also integrates with solution explorer. I've only used it with VS2008 but the website says it works with 2010 as well.

like image 34
benteight Avatar answered Sep 24 '22 15:09

benteight


VisualHg + TortoiseHg. Also suggest to assign some hotkeys in VS2010 to call VisualHg functions like: File.Commit, File.RepoBrowser.

like image 3
0x49D1 Avatar answered Sep 22 '22 15:09

0x49D1


See this other SO answer.

The alternatives out there (for VS2010 through VS2015) are basically two: VisualHG, which is basically a GUI proxy for TortoiseHg, and HgSccPackage, which is a stand-alone package (TortoiseHg is not required).

Both of them can be installed free of charge through the Visual Studio's Extensions and Updates... GUI tool, accessible through the Tools menu.

To keep it short, the former gives a more wide set of options, while the latter doesn't require other software installed so it's (arguably) a more lightweight solution - and also easier to install and set-up. Choosing the right tool is up to you, I personally love the TortoiseHg interface and approach so VisualHG has always be my favourite choice.

For a more extensive comparison between them you can also read this post on my blog.

like image 1
Darkseal Avatar answered Sep 20 '22 15:09

Darkseal