User:Jag/MercurialConfig
< User:Jag
[ui] username=Your Name <you@example.com>
[defaults]
- Needed for Mercurial < 1.2?
- diff=-U 8 -p
- qdiff=-U 8
[diff] git=true showfunc=true unified=8
[extensions] hgext.rebase= hgext.mq= extdiff=
[extdiff] cmd.diffw=diff opts.diffw=-wrNpU8
[hooks]
- Prevent "hg pull" if MQ patches are applied.
prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1
- Prevent "hg push" if MQ patches are applied.
preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1