]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - hgrc
Use graphlog extension to log output similar to hg view but as ASCII.
[config/dotfiles.git] / hgrc
1 # This is the Mercurial configuration file.
2
3
4 [ui]
5 username = Simon Ruderich <simon@ruderich.org>
6 ignore = ~/.hgignore
7 # Use Apple's FileMerge for merge conflicts.
8 merge = opendiff-merge
9
10 # Use git diffs with support for renames, binaries, access rights, etc.
11 [diff]
12 git = True
13
14 [extensions]
15 # Convert other vcs to mercurial.
16 hgext.convert =
17 # Simplify pull and merge processes.
18 hgext.fetch =
19 # Log output similar to hg view but as ASCII.
20 hgext.graphlog =
21 # Enable hg view.
22 hgext.hgk =
23 # Patch stack support.
24 hgext.mq =
25 # Use a pager for all output.
26 hgext.pager =
27 # Partial commit utility.
28 hgext.record =
29 # Allows cherry-picking and rebasing.
30 hgext.transplant =
31
32 # Necessary for hg view.
33 [hgk]
34 path = /opt/local/share/mercurial/contrib/hgk
35
36 [hooks]
37 # Precommit hook which runs tests if they exist.
38 precommit = precommit-runtests
39 # Prevent "hg pull" if MQ patches are applied.
40 prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1
41 # Prevent "hg push" if MQ patches are applied.
42 preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1
43
44 # Use colordiff and less as pager so that output from diff is colored and
45 # everything is easily readable in a terminal.
46 [pager]
47 pager = colordiff | less
48 ignore = record, qrecord