changeset 19:7ef4f2da9aa9

Replace deprecated {branches} template keyword with ifeq alternative.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 11 Feb 2015 09:18:44 -0500
parents c2c9ed83dd47
children 0638cfc84490
files hgrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgrc
+++ b/hgrc
@@ -120,7 +120,7 @@
 wip = log --graph --rev=wip --template=wip
 
 [templates]
-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)}'
+wip = '{label("log.branch", ifeq(branch, "default", "", branch))} {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]
 wip = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) and not closed()