Mercurial > index.cgi > dotfiles
comparison .hgrc @ 85:c75fecccc3e5
HG config changes:
* Move hgeditor to .hgrc out of .bashrc
* Create $HOST variable
* $HOST-switched includes for fine tuning environments based on hostname
author | Steve Huston <huston@astro.princeton.edu> |
---|---|
date | Wed, 24 Apr 2013 14:18:18 -0400 |
parents | e2f98d3b4b5b |
children | 463fe15a340f |
comparison
equal
deleted
inserted
replaced
84:fe021064d723 | 85:c75fecccc3e5 |
---|---|
1 # Global .hgrc - see bottom for local information | |
2 | |
1 [ui] | 3 [ui] |
2 username = Steve Huston <huston@srhuston.net> | 4 username = Steve Huston <huston@astro.princeton.edu> |
3 merge = vimdiff | 5 merge = vimdiff |
6 editor = $HOME/bin/hgeditor | |
4 | 7 |
5 [extensions] | 8 [extensions] |
6 convert = | 9 convert = |
7 keyword = | 10 keyword = |
8 color = | 11 color = |
9 # Until I find a nice way to get hgsubversion installed other places, this | |
10 # one's out. Need to decide if I really need it too, I might not. | |
11 # hgsubversion = | |
12 | 12 |
13 [merge-tools] | 13 [merge-tools] |
14 vimdiff.executable = vim | 14 vimdiff.executable = vim |
15 vimdiff.args = -d $base $local $output $other -c "wincmd J" | 15 vimdiff.args = -d $base $local $output $other -c "wincmd J" |
16 | |
17 # Includes - here we pull in a config file for the particular host on which | |
18 # we're running, if there is one. This lets us set specific things on | |
19 # specific hosts fairly easily. $HOST must be defined in the environment | |
20 # (bash's built-in $HOSTNAME is insufficient) | |
21 %include $HOME/.hgrc.d/$HOST.rc |