# This is the Mercurial configuration file. [ui] username = Simon Ruderich ignore = ~/.hgignore # Use Apple's FileMerge for merge conflicts. merge = opendiff-merge # Use git diffs with support for renames, binaries, access rights, etc. [diff] git = True [extensions] # Convert other vcs to mercurial. hgext.convert = # Simplify pull and merge processes. hgext.fetch = # Enable hg view. hgext.hgk = # Patch stack support. hgext.mq = # Partial commit utility. hgext.record = # Necessary for hg view. [hgk] path = /opt/local/share/mercurial/contrib/hgk [hooks] # Precommit hook which runs tests if they exist. precommit = precommit-runtests # 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