X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=hgrc;h=fb4cff68e9b91095c1b03b733b5e12b16741fdb2;hb=cddeac1b36a80263970103d684a390f249d90dee;hp=3721ec41885e7de41dd1d593c82d0078e6ca0ec1;hpb=a41c2e91972de0f665dbbac0d9cff20be7b2c647;p=config%2Fdotfiles.git diff --git a/hgrc b/hgrc index 3721ec4..fb4cff6 100644 --- a/hgrc +++ b/hgrc @@ -16,10 +16,14 @@ git = True hgext.convert = # Simplify pull and merge processes. hgext.fetch = +# Log output similar to hg view but as ASCII. +hgext.graphlog = # Enable hg view. 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. @@ -36,3 +40,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