[PATCH 1 of 2] hgweb: rename 'changesetbaseline' template to 'diffbase'

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


# HG changeset patch
# User Kevin Bullock <kbullock at ringworld.org>
# Date 1359734305 21600
# Branch stable
# Node ID 58ddfba8e948636bb8bf5911e35337e869fc51b5
# Parent  0c51532ec2335b89fa0283a84e57754495df2c08
hgweb: rename 'changesetbaseline' template to 'diffbase'

More accurately reflects what it will be used for, and is also shorter.

diff --git a/mercurial/templates/paper/map b/mercurial/templates/paper/map
--- a/mercurial/templates/paper/map
+++ b/mercurial/templates/paper/map
@@ -101,7 +101,7 @@ changelogparent = '
 
 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
 
-changesetbaseline = '<a href="{url}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">{node|short}</a> '
+diffbase = '<a href="{url}rev/{node|short}:{originalnode|short}{sessionvars%urlparameter}">{node|short}</a> '
 
 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '


More information about the Mercurial-devel mailing list