-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.hgrc
67 lines (67 loc) · 2.08 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
# -*- mode: conf; -*-
[ui]
username = Ting-Yu Lin <[email protected]>
interface = curses
tweakdefaults = true
merge = emacs
[bugzilla]
username = [email protected]
[mozilla]
ircnick = TYLin
[diff]
git = true
showfunc = true
unified = 8
[extensions]
fsmonitor =
histedit =
rebase =
shelve =
blackbox =
absorb =
strip =
purge =
evolve = ~/.mozbuild/evolve/hgext3rd/evolve
clang-format = ~/.mozbuild/version-control-tools/hgext/clang-format
js-format = ~/.mozbuild/version-control-tools/hgext/js-format
push-to-try = ~/.mozbuild/version-control-tools/hgext/push-to-try
firefoxtree = ~/.mozbuild/version-control-tools/hgext/firefoxtree
[experimental]
clonebundles = true
graphshorten = true
[alias]
wip = log --graph --rev=wip --template=wip
smart-annotate = annotate -w --skip ignored_changesets
[revsetalias]
wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or orphan()^) and not closed() and not (fxheads() - date(-90))
ignored_changesets = desc("ignore-this-changeset") or extdata(get_ignored_changesets)
[templates]
wip = '{label("wip.branch", if(branches,"{branches} "))}{label(ifeq(graphnode,"x","wip.obsolete","wip.{phase}"),"{rev}:{node|short}")}{label("wip.user", " {author|user}")}{label("wip.tags", if(tags," {tags}"))}{label("wip.tags", if(fxheads," {fxheads}"))}{if(bookmarks," ")}{label("wip.bookmarks", if(bookmarks,bookmarks))}{label(ifcontains(rev, revset("parents()"), "wip.here"), " {desc|firstline}")}'
[mqext]
mqcommit = auto
[defaults]
qnew = -U
[pager]
pager = LESS=FRSXQ less
quiet = true
[color]
changeset.draft = green
changeset.public = bold red
log.bookmark = yellow
log.date = magenta
log.tag = yellow
log.user = bold blue
wip.bookmarks = yellow underline
wip.branch = yellow
wip.draft = green
wip.here = red
wip.obsolete = none
wip.public = bold red
wip.tags = yellow
wip.user = bold blue
[rebase]
experimental.inmemory = yes
[extdata]
get_ignored_changesets = shell:cat `hg root`/.hg-annotate-ignore-revs 2> /dev/null || true
[merge-tools]
emacs.args = -q --eval "(ediff-merge-with-ancestor \""$local"\" \""$other"\" \""$base"\" nil \""$output"\")"