Skip to content

Instantly share code, notes, and snippets.

@ziadoz ziadoz/hgrc
Created Jul 16, 2012

Embed
What would you like to do?
Mercurial Remote Deployment
# /path/to/repository/.hg/hgrc
# $ hg push staging
# $ hg push live
[paths]
live = ssh://<username>@<server>//var/www/vhosts/<live-website>
staging = ssh://<username>@<server>//var/www/vhosts/<staging-website>
[hooks]
changegroup = hg update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.