]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - hgrc
Use simon@ruderich.org as my email.
[config/dotfiles.git] / hgrc
diff --git a/hgrc b/hgrc
index 20d15cfa7a61d1e60267aaf497e499d4ba8db3b6..3721ec41885e7de41dd1d593c82d0078e6ca0ec1 100644 (file)
--- a/hgrc
+++ b/hgrc
@@ -2,7 +2,7 @@
 
 
 [ui]
-username = Simon Ruderich <simon@ruderich.com>
+username = Simon Ruderich <simon@ruderich.org>
 ignore = ~/.hgignore
 # Use Apple's FileMerge for merge conflicts.
 merge = opendiff-merge
@@ -16,11 +16,23 @@ git = True
 hgext.convert =
 # Simplify pull and merge processes.
 hgext.fetch =
+# Enable hg view.
+hgext.hgk =
 # Patch stack support.
 hgext.mq =
 # Partial commit utility.
 hgext.record =
+# Allows cherry-picking and rebasing.
+hgext.transplant =
+
+# 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