Differences between revisions 8 and 9
Revision 8 as of 2013-08-27 13:55:49
Size: 2512
Editor: AugieFackler
Comment:
Revision 9 as of 2013-09-03 01:58:59
Size: 343
Editor: MilagrosG
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma section-numbers 2

= Power User Tools =

Hints for would-be power users

<<TableOfContents>>

== Built-in features ==

 * Topic:revsets - our powerful revision query language
 * Topic:filesets - our similarly powerful file query language
 * Topic:templating - the templater used by log and hgweb
 * Aliases - built-in command substitution

== Under-appreciated commands ==

 * [[Cmd:log|log -G]] - graph view of commits
 * [[Cmd:log|log -k]] - keyword search in commits
 * [[Cmd:help|help -k]] - keyword search in help
 * [[Cmd:commit|commit --amend]] - amend the last commit
 * [[Cmd:status|status --change]] - status output for a change
 * [[Cmd:status|status --rev a:b]] - status between two changes
 * [[Cmd:grep]] - search all of history for regular expressions
 * [[Cmd:import|import URL]] - import patch(es) from a URL

== Automation ==

 * [[Hooks]] - execute code for specific Mercurial events or commands
 * [[Topic:environment|HGPLAIN]] - environment variable to disable customizations
 * [[Cmd:identify]] - useful in makefiles
 * [[Cmd:root]] - useful in shell scripts
 * [[Cmd:log|log --template]] - useful in reporting
 * [[Cmd:status|status -n0]] - output suitable for xargs -0

== Advanced history editing ==

 * RebaseExtension
 * MqExtension
 * HisteditExtension
 * EvolveExtension
 * strip - part of the MQ extension

== Niceties for customizers ==

 * ColorExtension - shiny colors
 * PagerExtension - for slow readers
 * ProgressExtension - for the impatient
 * contrib/*_completion - for the lazy

== Debugging ==

 * [[Cmd:help|help --debug]] - list deprecated and debugging commands
 * [[Cmd:showconfig|showconfig --debug]] - dump configuration info with paths
 * [[Cmd:debuginstall]] - show install information
 * --debug - run a command with full verbosity
 * --traceback - get a complete stack trace for any exception
 * --debugger - run a command with an interactive source-level debugger
 * [[Cmd:debugindex]] - dump raw revlog graph data
 * [[Cmd:debugdata]] - dump raw revlog revision contents data
 * [[Cmd:debugstate]] - dump raw dirstate contents

== Interesting reading ==

 * FileFormats - what all those files are
 * [[http://hgbook.red-bean.com/read/behind-the-scenes.html#x8-640004|Behind the scenes]] - an overview of the internal data structures
 * HandlingLargeFiles - how we deal with files of many megabytes
 * EncodingStrategy - how character encoding works

----
## list categories here
Hi there. Permit me start by introducing the creator, her title is Lise and she believes it sounds quite excellent. Controlling individuals is what she does but soon she'll be on her own. Arkansas is the only spot she's been residing in and she will not plan on altering it. To read through books is what she does every 7 days.<<BR>>
<<BR>>

Hi there. Permit me start by introducing the creator, her title is Lise and she believes it sounds quite excellent. Controlling individuals is what she does but soon she'll be on her own. Arkansas is the only spot she's been residing in and she will not plan on altering it. To read through books is what she does every 7 days.

PowerUser (last edited 2014-11-03 22:16:10 by GregorySzorc)