Mercurial cheatsheet.

Tech Notes

Create an empty new repository and then fill it. hg init white-rock cp -Rp white-rock-20091015a/* white-rock/ cd white-rock hg status hg addremove hg commit -m 'Initial import' hg tip Start the internal mercurial server hg serve -p 8080 -d Clone an existing repository. hg clone http://10.0.0.7:8080/white-rock white-rock Import commits from another repository hg pull http://Producer.local:8000 hg heads hg merge hg update hg push http://10.0.0.7:8080/white-rock white-rock Add to [repository]/.hg/hgrc to disable the SSL requirement ("ssl required") [web] push_ssl = false