Mercurial Tips
This page is a collection of short tips that can be used on the homepage.
Tip: Use 'hg archive -R myrepo -r 1.0 myrepo-1.0.zip' to build a zip file of your release. |
Tips
Impatient? Enable the progress extension to get a progress bar
Enable the pager extension to get paged output
Enable the color extension to get colorized output
Confused? Use 'hg summary' to get your bearings!
Use 'hg serve', then browse your repository at 'http://localhost:8000/'
Use 'hg log -k <keyword>' to search your history for a keyword
Use 'hg id -i -r <rev>' to find the changeset id for a given revision or tag
Use 'hg status --rev <X>:<Y>' to see files changes between two revisions
Use 'hg archive -R myrepo -r 1.0 myrepo-1.0.zip' to build a zip file of your release.
See 'hg help revisions' for the many ways to specify revisions
Subscribe to latest news to get email notification of new releases.
Revsets are a powerful query language for 'log' and other commands
Mercurial has lots of features for power users