Wiki

Clone wiki

HgSccPackage / configVS

Once you have downloaded and installed HgSccPackage, you'll need to configure Visual Studio to use it.

1. On the Tools menu, choose Options.
Tools/Options

2. At Source Control, choose Plugin Selection and select Mercurial Source Control Package.
Plugin selection

3. On the View menu, choose Toolbars and then choose Mercurial Souce Control Toolbar.
View/Toolbars

4. Your new toolbar is now available.
the toolbar

5. I found that even though all files in my project were already in Hg, I did have to use the 'Folder+' icon (Add to Source Control) for a single file. Once I did that, everything worked great!

Since v1.0.8 it is not necessary to perform step 6, you can do this using package GUI.

6. To perform repository operations with remote repository (for example bitbucket), edit your <repo>/.hg/hgrc file to have the following:

[paths]
default = http://username:password@bitbucket.org/username/projectname

If the file is not exists, you can create it manualy.

You can find more information for mercurial configuration here: Mercurial configuration

Updated

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.