-
Notifications
You must be signed in to change notification settings - Fork 1
/
hgrc
86 lines (72 loc) · 2.14 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[ui]
username = Simon <contact at saimon.org>
editor = vim
#commitsubrepos = False
ignore = ~/.hgignore
[alias]
st = status -SC
di = diff
fdiff = diff -U 10000000000000
addremove = addremove --similarity 100
blame = annotate --user --number
revertall = revert --all --no-backup
grep = ! $HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | xargs -0 fgrep -H '$1'
query = ! echo "current branch: `$HG branch`" ; echo "`$HG paths`" ; echo "---------- incoming ----------" ; $HG --quiet incoming --template '{author|person}: {desc|firstline| strip}\n'; echo "---------- outgoing ----------" ; $HG --quiet outgoing --template '{author| person}: {desc|firstline|strip}\n'; echo "----------- status -----------" ; $HG --quiet status
show = log --patch --verbose --rev
logs = log --stat
slog = log --style=$HOME/lib/mercurial-cli-templates/map-cmdline.slog
nlog = log --style=$HOME/lib/mercurial-cli-templates/map-cmdline.nlog
sglog = glog --style=$HOME/lib/mercurial-cli-templates/map-cmdline.sglog
outs = outgoing -n --style=$HOME/lib/mercurial-cli-templates/map-cmdline.slog
ins = incoming -n --style=$HOME/lib/mercurial-cli-templates/map-cmdline.slog
[color]
diff.diffline = bold
diff.extended = bold
diff.file_a = bold
diff.file_b = bold
diff.hunk = cyan
diff.deleted = red
diff.inserted = green
diff.changed = white
diff.trailingwhitespace = bold red_background
[diff]
git = True
[extensions]
# ! to explicitly disable an extension
# Show change statistics
churn =
color =
# converts repositories from other SCMs (or even Mercurial itself)
convert =!
fetch =
graphlog =
hgk =
histedit =
mq =
pager =
patchbomb =
progress =
purge =
rebase =
record =
shelve =
transplant =
prompt = ~/lib/hg-prompt/prompt.py
[merge-tools]
splice.executable = gvim
splice.args = -f $base $local $other $output -c 'SpliceInit'
splice.premerge = keep
splice.priority = 1
[pager]
pager = LESS=FRSXQ less
quiet = True
attend = diff,status,log,qdiff,blame,annotate,pdiff,glog,show,di,slog,nlog,sglog,logs
[ui]
# traditional merge with conflict markers
# merge = internal:merge
[web]
cacerts = /etc/ssl/certs/ca-certificates.crt
contact = Simon
allow_archive = bz2, gz, zip
style = gitweb
%include ~/.hgrc.local