User:Jag/MercurialConfig

< User:Jag
Revision as of 23:46, 13 April 2009 by Jag (talk | contribs) (Created page with '[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=...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[ui] username=Your Name <you@example.com>

[defaults]

  1. Needed for Mercurial < 1.2?
  2. diff=-U 8 -p
  3. qdiff=-U 8

[diff] git=true showfunc=true unified=8

[extensions] hgext.rebase= hgext.mq= extdiff=

[extdiff] cmd.diffw=diff opts.diffw=-wrNpU8

[hooks]

  1. Prevent "hg pull" if MQ patches are applied.

prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1

  1. Prevent "hg push" if MQ patches are applied.

preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1