-
Notifications
You must be signed in to change notification settings - Fork 0
/
hgrc
43 lines (34 loc) · 1.06 KB
/
hgrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# example user config (see 'hg help config' for more info)
[ui]
username = vaarnan
# (see 'hg help color' for details)
color = always
# We recommend enabling tweakdefaults to get slight improvements to
# the UI over time. Make sure to set HGPLAIN in the environment when
# writing scripts!
# tweakdefaults = True
# uncomment to disable command output pagination
# (see 'hg help pager' for details)
# paginate = never
merge = emacs
editor = emacsclient
[extensions]
# uncomment these lines to enable some popular extensions
# (see 'hg help extensions' for more info)
#
# churn =
strip =
# unicode graph
# hgext.beautifygraph=
extdiff =
[merge-tools]
emacs.args = --eval "(ediff-merge-with-ancestor \""$local"\" \""$other"\" \""$base"\" nil \""$output"\")"
[trainingwheels]
prevent-push-dirty=false
[google]
presubmit.default-rev=chain
changes.autoresolve=true
[extdiff]
# add new command called ediff, runs emacs diff
cmd.ediff = sh
opts.ediff = -c 'if [ -d $0 ]; then emacs --eval "(ediff-directories \"$0\" \"$1\" \"\")"; else emacs --eval "(ediff-files \"$0\" \"$1\")"; fi'