Mercurial > dotfiles
comparison .hgrc @ 340:1b4b235482c5
hgrc: new smartlog templates and aliases from mpm
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 21 Jul 2014 14:19:43 -0400 |
parents | 3f3d52956ff7 |
children | f95ae07fb55a |
comparison
equal
deleted
inserted
replaced
339:07053ec3c643 | 340:1b4b235482c5 |
---|---|
58 status.ignored = magenta bold | 58 status.ignored = magenta bold |
59 qseries.unapplied = magenta bold | 59 qseries.unapplied = magenta bold |
60 | 60 |
61 [phases] | 61 [phases] |
62 publish=false | 62 publish=false |
63 | |
64 # Config tricks from mpm for smartlog | |
65 [alias] | |
66 sl = log -Gr smart -Tsl | |
67 | |
68 [templates] | |
69 sl = '{ifeq(branch,"default","","{label(black_background, branch)} ")}{label("log.changeset changeset.{phase}", shortest(node))} {label("grep.user", author|user)}{label("tags.normal", if(tags," {tags}"))} {label("sl.book", if(bookmarks," {bookmarks}"))}\n{label(ifcontains(rev, revset('.'), 'desc.here'),desc|firstline)}' | |
70 | |
71 [color] | |
72 sl.book = magenta bold | |
73 changeset.draft = magenta | |
74 changeset.secret = red | |
75 desc.here = inverse | |
76 | |
77 [revsetalias] | |
78 smart = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) |