[PATCH 2 of 2] hgweb: rename 'currentbaseline' template keyword to 'baserev'

Kevin Bullock kbullock+mercurial at ringworld.org
Fri Feb 1 12:17:52 CST 2013


# HG changeset patch
# User Kevin Bullock <kbullock at ringworld.org>
# Date 1359735161 21600
# Branch stable
# Node ID 3eac82e1194f87a9a16b982ddc61d920fda3fdf0
# Parent  58ddfba8e948636bb8bf5911e35337e869fc51b5
hgweb: rename 'currentbaseline' template keyword to 'baserev'

Shorter and clearer.

diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py
+++ b/mercurial/hgweb/webcommands.py
@@ -293,7 +293,7 @@ def changeset(web, req, tmpl):
                 node=ctx.hex(),
                 parent=webutil.parents(ctx),
                 child=webutil.children(ctx),
-                currentbaseline=basectx.hex(),
+                baserev=basectx.hex(),
                 changesettag=showtags,
                 changesetbookmark=showbookmarks,
                 changesetbranch=showbranch,


More information about the Mercurial-devel mailing list