Mercurial
a DVCS
aka Hg
Hg Init tutorial by Joel Spolsky
written in Python
works with BitBucket (as equivalent to GitHub for Git)
Jan'2014: used heavily at FaceBook because of scaling issues
Aug'2010: Joe Gregorio offers hg-prompt, because the only annoyance of MercurialQueues is accidentally pulling when you have queued patches applied.
MercurialQueues http://hgbook.red-bean.com/read/managing-change-with-mercurial-queues.html
typical starting-up commands
hg init
- create/edit
.hgignore
file http://www.selenic.com/mercurial/hgignore.5.html- typical files:
*.pyc
- if recognize something afterwords, use forget/remove
- typical files:
my typical cycle (working alone, not pushing to any repository): {{{ hg status hg add hg commit }}}
To undo last commit - hg revert --all -r {version num to revert to}
Edited: | Tweet this! | Search Twitter for discussion