Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2010-10-23 03:19:07
Size: 314
Editor: mpm
Comment:
Revision 8 as of 2010-11-11 00:40:23
Size: 1163
Editor: mpm
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
||Tip: <<RandomQuote(MercurialTips)>>|| ||'''Tip:''' <<RandomQuote(MercurialTips)>>||
Line 10: Line 10:
 * Use '`hg serve`', then browse your repository at !http://localhost:8000/  * Use '`hg serve`', then browse your repository at 'http://localhost:8000/'
 * 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
 * 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
 * See '`hg help revisions`' for the many ways to [[Topic:revisions|specify revisions]]
 * [[Topic:revsets|Revsets]] are a powerful query language for '`log`' and other commands
 * Use '`hg status --rev <X>:<Y>`' to see files changes between two revision
 * Subscribe to [[Mercurial/NewsItems|latest news]] to get email notification of new releases.
 * Use '`hg archive -R myrepo -r 1.0 myrepo-1.0.zip`' to build a zip file of your release.

----
CategoryWiki

Mercurial Tips

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

Tip:

Revsets are a powerful query language for 'log' and other commands

Tips

  • Use 'hg summary' to get a synopsis of your working directory

  • Use 'hg serve', then browse your repository at 'http://localhost:8000/'

  • 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

  • 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

  • See 'hg help revisions' for the many ways to specify revisions

  • Revsets are a powerful query language for 'log' and other commands

  • Use 'hg status --rev <X>:<Y>' to see files changes between two revision

  • Subscribe to latest news to get email notification of new releases.

  • Use 'hg archive -R myrepo -r 1.0 myrepo-1.0.zip' to build a zip file of your release.


CategoryWiki

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