Differences between revisions 4 and 15 (spanning 11 versions)
Revision 4 as of 2010-10-23 15:41:09
Size: 900
Editor: mpm
Comment:
Revision 15 as of 2013-09-01 02:08:01
Size: 1230
Editor: KevinBot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 9: Line 10:
 * Use '`hg summary`' to get a synopsis of your working directory  * Impatient? Enable the [[ProgressExtension|progress extension]] to get a progress bar
 * Enable the [[PagerExtension|pager extension]] to get paged output
 * Enable the [[ColorExtension|color extension]] to get colorized output
 * Confused? Use '`hg summary`' to get your bearings!
Line 11: Line 15:
 * Enable the [[ProgressExtension|progress extension]] to get a progress bar
 * Enable the [[PagerExtension|pager extension]] to get paged output
 * Enable the [[ColorExtension|progress extension]] to get colorized output
Line 16: Line 17:
 * 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.
Line 17: Line 20:
 * Subscribe to [[Mercurial/NewsItems|latest news]] to get email notification of new releases.
Line 18: Line 22:
 * Mercurial has lots of features for [[PowerUser|power users]]

Mercurial Tips

This page is a collection of short tips that can be used on the homepage.

Tip:

Mercurial has lots of features for power users

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


CategoryWiki

MercurialTips (last edited 2013-09-01 02:08:01 by KevinBot)