hgext.mq =
# Partial commit utility.
hgext.record =
+# Allows cherry-picking and rebasing.
+hgext.transplant =
# Necessary for hg view.
[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