-
Notifications
You must be signed in to change notification settings - Fork 19
/
.hgrc
74 lines (59 loc) · 2.23 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
[pager]
pager = LESS='FSRX' less
# Pipe to less the output of the following commands.
# Can be temporarily disabled with --pager=off
attend = annotate, cat, diff, export, glog, log, qdiff, slog, dlog, gslog, sglog, df, nlog, outgoing, lg, lga
[ui]
# TODO
username = FIRST LAST <[email protected]>
# Global .hgignore file
ignore = ~/.hgignore_global
[web]
# TODO: See http://kiln.stackexchange.com/questions/2816/mercurial-certificate-warning-certificate-not-verified-web-cacerts
cacerts = ~/hg-dummy-cert.pem
[extensions]
hgext.extdiff =
hgext.record =
hgext.mq =
color =
graphlog =
hgext.churn =
rebase =
pager =
progress =
hgext.purge =
hgext.shelve = ~/.hgext/hgshelve.py
hgext.collapse = ~/.hgext/collapse.py
dummy = $HOME/khan/devtools/kiln-review/review.py
rdiff = $HOME/khan/devtools/mercurial-extensions-rdiff/rdiff.py
kilnauth = $HOME/khan/devtools/kilnauth.py
[alias]
# Takes a revision argument and shows the diff: hg show 1337
show = log --stat --color=always -vpr
# Push the current branch only (don't push any other named branches)
nudge = push --rev .
# What did I do today?
today = !hg log --template '{rev} {desc|firstline|strip}\n' -r "sort(user('$(hg showconfig ui.username | sed 's/.*<\(.*\)>/\1/')') and date(-1), -date)"
slog = log --style=$HOME/khan-dotfiles/mercurial-cli-templates/map-cmdline.slog
nlog = log --style=$HOME/khan-dotfiles/mercurial-cli-templates/map-cmdline.nlog
sglog = glog --style=$HOME/khan-dotfiles/mercurial-cli-templates/map-cmdline.sglog
gslog = sglog
dlog = log --style=$HOME/khan-dotfiles/mercurial-cli-templates/map-cmdline.dlog
lga = glog --style=$HOME/khan-dotfiles/mercurial-cli-templates/map-cmdline.lg
lg = lga --rev 'ancestors(.)'
st = st -S
df = diff
[diff]
git = True
[auth]
kiln.prefix=https://khanacademy.kilnhg.com
[paths]
stable = https://khanacademy.kilnhg.com/Code/Website/Group/stable
# Add here any other shorthands for your kiln repo URLs
[hooks]
# JavaScript Google Closure linter
# TODO: Clone this from https://github.com/benkomalo/khan-linter
pretxncommit.khanlint = $HOME/khan/devtools/khan-linter/khanlint.py
[hostfingerprints]
khanacademy.kilnhg.com = fe:ab:65:89:7c:6f:1a:21:a8:39:54:6c:2a:cb:ca:ae:e9:e5:f0:01
bitbucket.org = 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b