TIPS

  • hg log -k <keyword> to search your history for a keyword
  • hg archive -R myrepo -r 1.0 myrepo-1.0.zip to build a zip file of your release.
  • hg archive -r default ./myrepo-1.0.zip
  • hg rollback and hg strip
  • hg summary to get a synopsis of your working directory
  • hg serve, then browse your repository at 'http://localhost:8000/'
  • hg log -k <keyword> to search your history for a keyword
  • hg id -i -r <rev> to find the changeset id for a given revision or tag
  • hg status –rev <X>:<Y> to see files changes between two revisions
  • hg archive -R myrepo -r 1.0 myrepo-1.0.zip to build a zip file of your release.
  • hg tags
  • hg commit -m "merge"
  • hg id -i -r
  • hg tags -q
  • hg heads -q
# -q сокращенная информация
# -r ревизия (хаш тэг)