User:Jag/MercurialConfig

From MozillaWiki
< User:Jag
Revision as of 01:40, 14 April 2009 by Jag (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[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.color=
hgext.extdiff=
hgext.mq=
hgext.rebase=

[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