How to deploy to Heroku using Mercurial?

heroku, mercurial

Solution

Once you have installed the Hg-Git mercurial plugin, add an alias to the `.hg/hgrc` of your repository:

[alias]
push-heroku = push git+ssh://git@heroku.com:<app name>.git

You are now able to push your application to Heroku:

hg push-heroku

Be aware that Heroku does not link your repository name with the remote Heroku app name by default.

Problem

I've been using Mercurial for quite some time and I'd like to start using Heroku as a deployment platform. However, they seem to support Git only. Does anybody knows how to Heroku using Mercurial?

Original source

Related problems