Mercurial

mercurial homepage

Tutorial

  • Create a new repository
    • Go to existing directory, execute hg init
  • History: hg log
  • See which revision: hg parents
  • See what files are modified, added, etc. hg status
  • Discard changes, revert: hg revert [file]
  • Change default editor for check-in comments: Set the $EDITOR env. variable