[PATCH 2 of 2 V2 STABLE] hgweb: rename 'currentbaseline' template keyword to 'basenode'
Kevin Bullock
kbullock+mercurial at ringworld.org
Fri Feb 1 19:51:48 UTC 2013
# HG changeset patch
# User Kevin Bullock <kbullock at ringworld.org>
# Date 1359735161 21600
# Branch stable
# Node ID 66ae2ded096887109998a48a519637d02c6bfabd
# Parent 41eabb5b87610bb4d2410b80c39cb7a3b91e3a5c
hgweb: rename 'currentbaseline' template keyword to 'basenode'
Shorter and clearer. This keyword represents the node we're currently
diffing against.
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(),
+ basenode=basectx.hex(),
changesettag=showtags,
changesetbookmark=showbookmarks,
changesetbranch=showbranch,
More information about the Mercurial-devel
mailing list