]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - hgrc
Use pager extension with colordiff and less as pager.
[config/dotfiles.git] / hgrc
diff --git a/hgrc b/hgrc
index a7c43c9b4114dcd6752268e4fd7d761c42717392..49626c87e1ce495e74c73678edcafa7b287f569c 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
@@ -20,8 +20,12 @@ hgext.fetch =
 hgext.hgk =
 # Patch stack support.
 hgext.mq =
+# Use a pager for all output.
+hgext.pager =
 # Partial commit utility.
 hgext.record =
+# Allows cherry-picking and rebasing.
+hgext.transplant =
 
 # Necessary for hg view.
 [hgk]
@@ -34,3 +38,9 @@ precommit = precommit-runtests
 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
+
+# Use colordiff and less as pager so that output from diff is colored and
+# everything is easily readable in a terminal.
+[pager]
+pager = colordiff | less
+ignore = record, qrecord