Annotate feature in tortoisehg

Yes, it is. Open up TortoiseHg Workbench on top of your repository. Then click the Manifest button, it looks like this in the toolbar: In the list, find the file you want to look at, right-click and choose File History: In the dialog that opens up, in the toolbar just above the file contents, click … Read more

Showing renames in hg status?

There are several ways to do this. Before you commit, you can use hg diff –git to show what was renamed: $ hg diff –git diff –git a/theTest.txt b/aTest.txt rename from theTest.txt rename to aTest.txt Note that this only works if you used hg mv, hg rename, or mv and hg addremove –similarity 100. After … Read more

Make another branch default?

Just merge feature-branch into default then close feature-branch: $ hg checkout default $ hg merge feature-branch $ hg commit $ hg checkout feature-branch $ hg commit –close-branch There is no more clean and sensible way (that I’m aware of) to “make feature-branch the default”. One thing that wouldn’t be as nice, but you could do, … Read more

How do I delete a remote bookmark in Mercurial?

To delete a bookmark from a remote server, you must have permission to push to the server. If you can push to it, then you can: hg bookmark –delete <bookmark name> hg push –bookmark <bookmark name> See the “Working With Remote Repositories” section of the Mercurial BookmarksExtension wiki for further info. NOTE: This only removes … Read more

How can I use vim not vi to write commit message?

From the editor docs: Mercurial tries to pick which program to call to edit a commit message by trying the following (in order): HGEDITOR environment variable editor configuration option in [ui] section (in hgrc or passed with –config ui.editor command-line option). VISUAL environment variable EDITOR environment variable vi, if none of the above is set … Read more