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?
To deploy your app to Heroku, use the git push command to push the code from your local repository's main branch to your heroku remote. For example: $ git push heroku main Initializing repository, done.
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://[email protected]:<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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With