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

login
register
mail settings
Submitter Kevin Bullock
Date Feb. 1, 2013, 6:17 p.m.
Message ID <3eac82e1194f87a9a16b.1359742672@opendoor.mincava.umn.edu>
Download mbox | patch
Permalink /patch/788/
State Superseded
Headers show

Comments

Kevin Bullock - Feb. 1, 2013, 6:17 p.m.
# HG changeset patch
# User Kevin Bullock <kbullock@ringworld.org>
# Date 1359735161 21600
# Branch stable
# Node ID 3eac82e1194f87a9a16b982ddc61d920fda3fdf0
# Parent  58ddfba8e948636bb8bf5911e35337e869fc51b5
hgweb: rename 'currentbaseline' template keyword to 'baserev'

Shorter and clearer.

Patch

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,