-
Notifications
You must be signed in to change notification settings - Fork 21
/
hgrc
151 lines (132 loc) · 3.43 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[alias]
; Edit the current repository's hgrc file.
editrc = !$EDITOR `$HG root`/.hg/hgrc
; Pretty logs.
blog = log --style=/Users/sorin/.mercurial/templates/map-cmdline.blog
olog = blog -q
golog = olog --graph
plog = log --style=/Users/sorin/.mercurial/templates/map-cmdline.plog
slog = plog --stat
dlog = slog --patch
show = dlog --verbose --rev
; Make a new repo with some sensible defaults.
mkrepo = !$HG init "$1" && cd "$1" && \
echo 'syntax: glob' > .hgignore && \
echo '' >> .hgignore && \
echo '.DS_Store' >> .hgignore && \
echo '*.pyc' >> .hgignore && \
echo '*.swp' >> .hgignore && \
echo '*.swo' >> .hgignore && \
echo '*.un~' >> .hgignore && \
echo '.ropeproject' >> .hgignore && \
echo 'tags' >> .hgignore && \
echo "[paths]\n" >> .hg/hgrc
; Push only the current branch.
nudge = push --branch .
[bookmarks]
track.current = True
[color]
bookmarks.current = green
branches.active = yellow
branches.closed = red
branches.current = green
branches.inactive = none
diff.changed = yellow
diff.deleted = red
diff.diffline = bold
diff.extended = blue
diff.file_a = red
diff.file_b = green
diff.hunk = cyan
diff.inserted = green
diff.trailingwhitespace = bold red_background
qseries.applied = green
qseries.missing = red
qseries.unapplied = yellow
resolve.resolved = green
resolve.unresolved = red
status.added = green
status.clean = none
status.copied = none
status.deleted = yellow
status.ignored = none
status.modified = cyan
status.removed = red
status.unknown = magenta
tags.normal = green
tags.local = yellow
[defaults]
addremove = --similarity 100
rebase = --keepbranches
serve = --style=gitweb
[diff]
git = True
unified = 5
[email]
from = Sorin Ionescu <[email protected]>
method = smtp
[extdiff]
cmd.ksdiff = ksdiff-wrapper
opts.ksdiff = hg
cmd.wdiff = sh
opts.wdiff = -c 'diff --unified "$@" | wdiff --diff-input --avoid-wraps --start-delete="[38;5;1m" --end-delete="[00m" --start-insert="[38;5;2m" --end-insert="[00m" | sed "s/^\(@@\( [+-][[:digit:]]*,[[:digit:]]*\)\{2\} @@\)$/[38;5;6m\1[00m/g" | less -FSRX' ''
[extensions]
bisect =
bookmarks =
color =
extdiff =
fetch =
graphlog =
hg_histedit =
hggit =
highlight =
mercurial_keyring =
mq =
onsub = ~/.mercurial/extensions/onsub/onsub.py
pager =
parentrevspec =
patchbomb =
progress =
prompt = ~/.mercurial/extensions/hg-prompt/prompt.py
purge =
rebase =
record =
schemes =
shelve = ~/.mercurial/extensions/hgshelve/hgshelve.py
[hooks]
; pretxncommit.whitespace = ~/.mercurial/hooks/trailing-whitespace.py
[merge-tools]
keepthat.args = -c 'cp "$local" "$output.original" && cp "$other" "$output"'
keepthat.executable = sh
keepthat.premerge = True
keepthis.args = -c 'cp "$other" "$output.incoming" && cp "$local" "$output"'
keepthis.executable = sh
keepthis.premerge = True
splice.args = -f -c 'SpliceInit' $base $local $other $output
splice.executable = vim
splice.premerge = keep
splice.priority = 1
vimdiff.executable = vim
vimdiff.args = -f -d -c 'wincmd J' -c 'resize 10' "$output" "$local" "$base" "$other"
[pager]
attend =
pager = less -FSRX
quiet = True
[progress]
delay = 1.0
format = topic number estimate
[schemes]
gh = git://github.com/
ghs = git+ssh://[email protected]/
[smtp]
host = smtp.gmail.com
port = 587
tls = True
username = [email protected]
[ui]
commitsubrepos = False
ignore = ~/.hgignore
username = Sorin Ionescu <[email protected]>
[web]
allow_archive = gz zip bz2
cacerts = ~/.mercurial/cacerts/dummy-cert.pem