changeset 21:06e3f0f4d6ed

wip: use 'parents()' instead of '.' for desc.here
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 04 Mar 2015 17:28:03 -0500
parents 0638cfc84490
children 3a4f857e082a
files hgrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgrc
+++ b/hgrc
@@ -131,7 +131,7 @@
 wip = log --graph --rev=wip --template=wip
 
 [templates]
-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)}'
+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('parents()'), 'desc.here'),desc|firstline)}'
 
 [revsetalias]
 wip = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^) and not closed()