changeset 29:7ef4d6bfe602

sbisect: new template for showing bisection status
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Thu, 03 Dec 2015 12:23:36 -0500
parents 738bba735a40
children 4dea2fc0b179
files hgrc
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgrc
+++ b/hgrc
@@ -84,6 +84,11 @@
 log.date = skyblue
 log.user = mauve
 
+bisect.G = green
+bisect.B = red
+bisect.U = yellow
+bisect.I = black bold
+
 changeset.public = orange bold
 changeset.secret = blue bold
 changeset.draft = salmon bold
@@ -139,6 +144,7 @@
 wip = log --graph --rev=wip --template=wip
 
 [templates]
+sbisect = '{label("log.branch", ifeq(branch, "default", "", branch))} {label("changeset.{phase}", rev)}{if(bisect, " {label('bisect.{bisect|shortbisect}', bisect|shortbisect)}")} {label("log.user", author|user)}{label("log.tag", if(tags," {tags}"))} {bookmarks % "{ifeq(bookmark, currentbookmark, label('log.activebookmark', bookmark), label('log.bookmark', bookmark))} "}({label("log.date", date|shortdate)})\n{label(ifcontains(rev, revset('parents()'), 'desc.here'),desc|firstline)}'
 wip = '{label("log.branch", ifeq(branch, "default", "", branch))} {label("changeset.{phase}", rev)} {label("log.user", author|user)}{label("log.tag", if(tags," {tags}"))} {bookmarks % "{ifeq(bookmark, currentbookmark, label('log.activebookmark', bookmark), label('log.bookmark', bookmark))} "}({label("log.date", date|shortdate)})\n{label(ifcontains(rev, revset('parents()'), 'desc.here'),desc|firstline)}\n'
 
 gwip = '{label("log.branch", ifeq(branch, "default", "", branch))} {label("changeset.{phase}", gitnode|short)} {label("log.user", author|user)}{label("log.tag", if(tags," {tags}"))} {bookmarks % "{ifeq(bookmark, currentbookmark, label('log.activebookmark', bookmark), label('log.bookmark', bookmark))} "}({label("log.date", date|shortdate)})\n{label(ifcontains(rev, revset('parents()'), 'desc.here'),desc|firstline)}\n'