Mercurial > hg
diff mercurial/templates/paper/map @ 18523:41eabb5b8761 stable
hgweb: rename 'changesetbaseline' template to 'difffrom'
More accurately reflects what it will be used for, and is also shorter.
This template is used to change which rev the current rev is diff'd
against. For example, if you're at '/rev/P1:REV', this would link to a
path like '/rev/P2:REV'.
Example usage in a template:
{parent%difffrom}
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Fri, 01 Feb 2013 09:58:25 -0600 |
parents | bebb05a7e249 |
children | 9409aeaafdc1 |
line wrap: on
line diff
--- a/mercurial/templates/paper/map Fri Feb 01 02:01:11 2013 +0100 +++ b/mercurial/templates/paper/map Fri Feb 01 09:58:25 2013 -0600 @@ -101,7 +101,7 @@ 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> ' +difffrom = '<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> '