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

How to point pip at a Mercurial branch?

In official pip documentation in section VCS Support: Mercurial The supported schemes are: hg+http, hg+https, hg+static-http and hg+ssh: -e hg+http://hg.myproject.org/MyProject/#egg=MyProject -e hg+https://hg.myproject.org/MyProject/#egg=MyProject -e hg+ssh://[email protected]/MyProject/#egg=MyProject You can also specify a revision number, a revision hash, a tag name or a local branch name: -e hg+http://hg.myproject.org/MyProject/@da39a3ee5e6b#egg=MyProject -e hg+http://hg.myproject.org/MyProject/@2019#egg=MyProject -e hg+http://hg.myproject.org/MyProject/@v1.0#egg=MyProject -e hg+http://hg.myproject.org/MyProject/@special_feature#egg=MyProject The syntax is the same … 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

Convert Bitbucket Mercurial repository to Git. Maintain branches and history. Online solution

The only way I found to convert a Mercurial repo to Git, while keeping all the branches, was to use GitHub’s importer. This was also the easiest since it’s all done online. Nothing local to install, no command line stuff. Main idea Use Github’s importer to convert Bitbucket Mercurial repo to GitHub Git repo. Then … 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