]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - vcs/hgrc
herbstluftwm/autostart: add bindings to run programs and select windows
[config/dotfiles.git] / vcs / hgrc
1 # This is the Mercurial configuration file.
2
3 # Copyright (C) 2011-2012  Simon Ruderich
4 #
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 [ui]
20 username = Simon Ruderich <simon@ruderich.org>
21
22 # Use git diffs with support for renames, binaries, access rights, etc.
23 [diff]
24 git = True
25
26 [extensions]
27 # Convert other vcs to mercurial.
28 hgext.convert =
29 # Simplify pull and merge processes.
30 hgext.fetch =
31 # Log output similar to hg view but as ASCII.
32 hgext.graphlog =
33 # Enable hg view.
34 hgext.hgk =
35 # Patch stack support.
36 hgext.mq =
37 # Use a pager for all output.
38 hgext.pager =
39 # Partial commit utility.
40 hgext.record =
41 # Allows cherry-picking and rebasing.
42 hgext.transplant =
43
44 # Necessary for hg view.
45 [hgk]
46 path = /usr/share/mercurial/hgk
47
48 [hooks]
49 # Precommit hook which runs tests if they exist.
50 precommit = precommit-runtests
51 # Prevent "hg pull" if MQ patches are applied.
52 prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1
53 # Prevent "hg push" if MQ patches are applied.
54 preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1
55
56 # Use colordiff and less as pager so that output from diff is colored and
57 # everything is easily readable in a terminal.
58 [pager]
59 pager = colordiff | less
60 ignore = record, qrecord, view, clone
61
62 # vim: ft=cfg