comparison sample-config/hgrc-jordi @ 9:e3783841a9ff

Move configs and tasks to subdirs
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 07 Nov 2014 12:28:04 -0500
parents hgrc-jordi@ddd9bded7d0f
children
comparison
equal deleted inserted replaced
8:e7b19956f86d 9:e3783841a9ff
1 [ui]
2 username = Jordi GutiƩrrez Hermoso <jordigh@octave.org>
3 merge = emacs
4 editor = emacswait
5 debugger = ipdb
6 mergemarkers = detailed
7
8 # My Emacs merge configuration
9 [merge-tools]
10 emacs.executable = emacspause
11 emacs.args = --eval "(ediff-merge-with-ancestor \""$local"\" \""$other"\" \""$base"\" nil \""$output"\")"
12
13 # Some special alises
14 [alias]
15 garbage-collect=strip --hidden -r 'obsolete()'
16 stash=shelve
17 glog=log -G
18 email=email --confirm
19 pvr=log -pvr
20
21 # These are all the extensions that I use.
22 [extensions]
23 convert=
24 strip=
25 record=
26 churn=
27 purge=
28 rebase=
29 highlight=
30 color=
31 progress=
32 patchbomb=
33 histedit=
34 largefiles=
35 shelve=
36
37 pager =
38 hggit = ~/coding/vcs/hg-git/hggit
39 crecord= ~/coding/vcs/crecord/crecord
40 evolve=~/coding/vcs/evolve/hgext/evolve.py
41
42 # The pager needs some extra config to work right...
43 [pager]
44 pager = LESS='FSRX' less
45 attend = tags, help, annotate, cat, diff, export, status,\
46 outgoing, incoming, glog, log, grep, sl, pvr, wip
47
48 # This defines my custom xterm-256 colours.
49 [color]
50 mode=terminfo
51 color.orange = 202
52 color.lightyellow = 191
53 color.darkorange = 220
54 color.brightyellow = 226
55
56 status.modified = magenta bold
57 status.added = green bold
58 status.removed = red bold
59 status.deleted = cyan bold
60 status.unknown = black bold
61 status.ignored = black bold
62 log.branch = cyan
63 log.summary = lightyellow
64 log.description = lightyellow
65 log.bookmark = green
66 log.tag = darkorange
67 log.graph = blue
68
69 changeset.public = orange bold
70 changeset.secret = blue bold
71 changeset.draft = brightyellow bold
72
73 diff.tab = bold magenta_background
74
75 desc.here = bold blue_background
76
77 [tortoisehg]
78 authorcolor = True
79
80 [subpaths]
81 git://git.sv.gnu.org/gnulib = /home/jordi/coding/vcs/gnulib
82
83 # This makes diffs show more information
84 [diff]
85 git = true
86 showfunc = 1
87
88 [web]
89 pygments_style = emacs
90 style = paper
91 allow_archive = gz zip
92 archivesubrepos = true
93
94 # This email stuff is for emailing patches to the Mercurial list for
95 # when I want to modify Mercurial itself.
96 [email]
97 method = smtp
98 from = Jordi GutiƩrrez Hermoso <jordigh@octave.org>
99 to = mercurial-devel@selenic.com
100 cc =
101
102 [smtp]
103 host = fencepost.gnu.org
104 tls = tls
105 username = jordigh
106 port = 587
107
108 # I push and pull a lot with local clones, so don't make my local
109 # clones publish those commits.
110 [phases]
111 publish = False
112
113 [revsetalias]
114 bt($1) = ::$1 - ::@
115
116
117 # This is complicated, but cool. For an explanation, see the following url:
118 # http://jordi.inversethought.com/blog/customising-mercurial-like-a-pro/
119 [alias]
120 wip = log --graph --rev=wip --template=wip
121
122 [templates]
123 wip = '{label("log.branch", branches)} {label("changeset.{phase}", rev)} {label("grep.user", author|user)}{label("log.tag", if(tags," {tags}"))} {label("log.bookmark", if(bookmarks," {bookmarks}"))}\n{label(ifcontains(rev, revset('.'), 'desc.here'),desc|firstline)}'
124
125 [revsetalias]
126 wip = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) and not closed()