changeset 15:b97bac7521d1

smartlog: always show the branch and bookmarks. Change hashes to revisions
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Mon, 06 Oct 2014 10:37:35 -0400
parents 2515d910cf13
children 00232f70a2ee
files hgrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgrc
+++ b/hgrc
@@ -108,7 +108,7 @@
 sl = log -Gr smart -Tsl
 
 [templates]
-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)}'
+sl = '{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)}'
 
 [revsetalias]
 smart = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) and not closed()
\ No newline at end of file