# HG changeset patch # User Thomas Arendsen Hein # Date 1359747815 -3600 # Node ID 9409aeaafdc14de222102247f9aeabb7deb08123 # Parent 462579cbad459e47e5929eb463b419c1f0ea9223 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names Without this, repository paths or names containing e.g. & characters or html tags yielded strange results, possibly allowing cross-site scripting attacks. diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/bookmarkentry.tmpl --- a/mercurial/templates/atom/bookmarkentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/bookmarkentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {bookmark|escape} - - {urlbase}{url}#bookmark-{node} + + {urlbase}{url|urlescape}#bookmark-{node} {date|rfc3339date} {date|rfc3339date} {bookmark|strip|escape} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/bookmarks.tmpl --- a/mercurial/templates/atom/bookmarks.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/bookmarks.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} - {urlbase}{url} - - + {urlbase}{url|urlescape} + + {repo|escape}: bookmarks {repo|escape} bookmark history Mercurial SCM diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/branchentry.tmpl --- a/mercurial/templates/atom/branchentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/branchentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {branch|escape} - - {urlbase}{url}#branch-{node} + + {urlbase}{url|urlescape}#branch-{node} {date|rfc3339date} {date|rfc3339date} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/branches.tmpl --- a/mercurial/templates/atom/branches.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/branches.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} - {urlbase}{url} - - + {urlbase}{url|urlescape} + + {repo|escape}: branches {repo|escape} branch history Mercurial SCM diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/changelog.tmpl --- a/mercurial/templates/atom/changelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/changelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,8 +1,8 @@ {header} - {urlbase}{url} - - + {urlbase}{url|urlescape} + + {repo|escape} Changelog {latestentry%feedupdated} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/changelogentry.tmpl --- a/mercurial/templates/atom/changelogentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/changelogentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {desc|strip|firstline|strip|escape|nonempty} - {urlbase}{url}#changeset-{node} - + {urlbase}{url|urlescape}#changeset-{node} + {author|person|escape} {author|email|obfuscate} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/error.tmpl --- a/mercurial/templates/atom/error.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/error.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,8 +1,8 @@ {header} - {urlbase}{url} - - + {urlbase}{url|urlescape} + + Error 1970-01-01T00:00:00+00:00 diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/filelog.tmpl --- a/mercurial/templates/atom/filelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/filelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,6 +1,6 @@ {header} - {urlbase}{url}atom-log/tip/{file|escape} - + {urlbase}{url|urlescape}atom-log/tip/{file|escape} + {repo|escape}: {file|escape} history {latestentry%feedupdated} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/tagentry.tmpl --- a/mercurial/templates/atom/tagentry.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/tagentry.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {tag|escape} - - {urlbase}{url}#tag-{node} + + {urlbase}{url|urlescape}#tag-{node} {date|rfc3339date} {date|rfc3339date} {tag|strip|escape} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/atom/tags.tmpl --- a/mercurial/templates/atom/tags.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/atom/tags.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} - {urlbase}{url} - - + {urlbase}{url|urlescape} + + {repo|escape}: tags {repo|escape} tag history Mercurial SCM diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/coal/header.tmpl --- a/mercurial/templates/coal/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/coal/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ - + - - + + diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/coal/map --- a/mercurial/templates/coal/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/coal/map Fri Feb 01 20:43:35 2013 +0100 @@ -13,14 +13,14 @@ help = ../paper/help.tmpl helptopics = ../paper/helptopics.tmpl -helpentry = '{topic|escape}{summary|escape}' +helpentry = '{topic|escape}{summary|escape}' -naventry = '{label|escape} ' -navshortentry = '{label|escape} ' -navgraphentry = '{label|escape} ' -filenaventry = '{label|escape} ' -filedifflink = '{file|escape} ' -filenodelink = '{file|escape} ' +naventry = '{label|escape} ' +navshortentry = '{label|escape} ' +navgraphentry = '{label|escape} ' +filenaventry = '{label|escape} ' +filedifflink = '{file|escape} ' +filenodelink = '{file|escape} ' filenolink = '{file|escape} ' fileellipses = '...' diffstatlink = ../paper/diffstat.tmpl @@ -38,10 +38,10 @@ direntry = ' - - dir. {basename|escape}/ + + dir. {basename|escape}/ - + {emptydirs|escape} @@ -52,8 +52,8 @@ fileentry = ' - - file {basename|escape} + + file {basename|escape} {size} @@ -72,7 +72,7 @@ annotateline = ' - {author|user}@{rev} {linenumber} {line|escape} @@ -97,19 +97,19 @@ changelogparent = ' parent {rev}: - {node|short} + {node|short} ' -changesetparent = '{node|short} ' +changesetparent = '{node|short} ' -filerevparent = '{rename%filerename}{node|short} ' -filerevchild = '{node|short} ' +filerevparent = '{rename%filerename}{node|short} ' +filerevchild = '{node|short} ' filerename = '{file|escape}@' filelogrename = ' base - + {file|escape}@{node|short} ' @@ -117,17 +117,17 @@ parent: - + {rename%filerename}{node|short} ' -changesetchild = ' {node|short}' +changesetchild = ' {node|short}' changelogchild = ' child - + {node|short} @@ -136,7 +136,7 @@ child: - + {node|short} @@ -145,7 +145,7 @@ tagentry = ' - + {tag|escape} @@ -157,7 +157,7 @@ bookmarkentry = ' - + {bookmark|escape} @@ -169,7 +169,7 @@ branchentry = ' - + {branch|escape} @@ -186,41 +186,41 @@ filediffparent = ' parent {rev}: - {node|short} + {node|short} ' filelogparent = ' parent {rev}: - {node|short} + {node|short} ' filediffchild = ' child {rev}: - {node|short} + {node|short} ' filelogchild = ' child {rev}: - {node|short} + {node|short} ' indexentry = ' - {name|escape} + {name|escape} {description} {contact|obfuscate} {lastchange|rfc822date} {archives%indexarchiveentry} \n' -indexarchiveentry = ' ↓{type|escape}' +indexarchiveentry = ' ↓{type|escape}' index = ../paper/index.tmpl archiveentry = '
  • - {type|escape} + {type|escape}
  • ' notfound = ../paper/notfound.tmpl error = ../paper/error.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '' -breadcrumb = '> {name} ' +breadcrumb = '> {name|escape} ' diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/bookmarks.tmpl --- a/mercurial/templates/gitweb/bookmarks.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/bookmarks.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Bookmarks + href="{url|urlescape}atom-bookmarks" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-bookmarks" title="RSS feed for {repo|escape}"/> @@ -13,15 +13,15 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/branches.tmpl --- a/mercurial/templates/gitweb/branches.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/branches.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Branches + href="{url|urlescape}atom-branches" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-branches" title="RSS feed for {repo|escape}"/> @@ -13,15 +13,15 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/changelog.tmpl --- a/mercurial/templates/gitweb/changelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/changelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Changelog + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -12,7 +12,7 @@ Mercurial {pathdef%breadcrumb} / changelog -
    + {sessionvars%hiddenformentry}
    diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/error.tmpl --- a/mercurial/templates/gitweb/error.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/error.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Error + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -13,14 +13,14 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/fileannotate.tmpl --- a/mercurial/templates/gitweb/fileannotate.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/fileannotate.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: {file|escape}@{node|short} (annotated) + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -13,23 +13,23 @@ @@ -46,7 +46,7 @@ {branch%filerevbranch} - + {parent%fileannotateparent} {child%fileannotatechild} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/filecomparison.tmpl --- a/mercurial/templates/gitweb/filecomparison.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filecomparison.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: comparison {file|escape} + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -13,23 +13,23 @@ @@ -39,7 +39,7 @@ {branch%filerevbranch} - + {parent%filecompparent} {child%filecompchild}
    changeset {rev}{node|short}
    {node|short}
    changeset {rev}{node|short}
    {node|short}
    diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/filediff.tmpl --- a/mercurial/templates/gitweb/filediff.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filediff.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: diff {file|escape} + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -13,23 +13,23 @@
    @@ -39,7 +39,7 @@ {branch%filerevbranch} changeset {rev} - {node|short} + {node|short} {parent%filediffparent} {child%filediffchild} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/filelog.tmpl --- a/mercurial/templates/gitweb/filelog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filelog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: File revisions + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -13,20 +13,20 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/filerevision.tmpl --- a/mercurial/templates/gitweb/filerevision.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/filerevision.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: {file|escape}@{node|short} + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -13,23 +13,23 @@ @@ -46,7 +46,7 @@ {branch%filerevbranch} changeset {rev} - {node|short} + {node|short} {parent%filerevparent} {child%filerevchild} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/footer.tmpl --- a/mercurial/templates/gitweb/footer.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/footer.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -2,8 +2,8 @@ -
    + {sessionvars%hiddenformentry}
    @@ -89,7 +89,7 @@ } var item = '
  • '; - item += '' + cur[3] + ''; + item += '' + cur[3] + ''; item += ' ' + tagspan + ''; item += '' + cur[5] + ', by ' + cur[4] + '
  • '; @@ -103,8 +103,8 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/header.tmpl --- a/mercurial/templates/gitweb/header.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/header.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -2,7 +2,7 @@ - + - - + + diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/help.tmpl --- a/mercurial/templates/gitweb/help.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/help.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Branches + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}"/> @@ -13,14 +13,14 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/helptopics.tmpl --- a/mercurial/templates/gitweb/helptopics.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/helptopics.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Branches + href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-tags" title="RSS feed for {repo|escape}"/> @@ -13,14 +13,14 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/manifest.tmpl --- a/mercurial/templates/gitweb/manifest.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/manifest.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: files + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -13,16 +13,16 @@ @@ -32,7 +32,7 @@ drwxr-xr-x -[up] +[up]   {dentries%direntry} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/map --- a/mercurial/templates/gitweb/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/map Fri Feb 01 20:43:35 2013 +0100 @@ -11,35 +11,35 @@ help = help.tmpl helptopics = helptopics.tmpl -helpentry = '{topic|escape}{summary|escape}' +helpentry = '{topic|escape}{summary|escape}' -naventry = '{label|escape} ' -navshortentry = '{label|escape} ' -navgraphentry = '{label|escape} ' -filenaventry = '{label|escape} ' -filedifflink = '{file|escape} ' +naventry = '{label|escape} ' +navshortentry = '{label|escape} ' +navgraphentry = '{label|escape} ' +filenaventry = '{label|escape} ' +filedifflink = '{file|escape} ' filenodelink = ' - {file|escape} + {file|escape} - file | - annotate | - diff | - comparison | - revisions + file | + annotate | + diff | + comparison | + revisions ' filenolink = ' - {file|escape} + {file|escape} file | annotate | - diff | - comparison | - revisions + diff | + comparison | + revisions ' @@ -59,11 +59,11 @@ - {basename|escape} - {emptydirs|escape} + {basename|escape} + {emptydirs|escape} - files + files ' fileentry = ' @@ -72,12 +72,12 @@ {date|isodate} {size} - {basename|escape} + {basename|escape} - file | - revisions | - annotate + file | + revisions | + annotate ' filerevision = filerevision.tmpl @@ -92,7 +92,7 @@ annotateline = ' - {author|user}@{rev}
    {linenumber}
    @@ -117,34 +117,34 @@ parent {rev}: - {node|short} + {node|short} ' -changesetbranch = 'branch{name}' +changesetbranch = 'branch{name|escape}' changesetparent = ' parent {rev} - {node|short} + {node|short} ' -filerevbranch = 'branch{name}' +filerevbranch = 'branch{name|escape}' filerevparent = ' parent {rev} - + {rename%filerename}{node|short} ' filerename = '{file|escape}@' -filelogrename = '| base' +filelogrename = '| base' fileannotateparent = ' parent {rev} - + {rename%filerename}{node|short} @@ -152,59 +152,59 @@ changelogchild = ' child {rev}: - {node|short} + {node|short} ' changesetchild = ' child {rev} - {node|short} + {node|short} ' filerevchild = ' child {rev} - {node|short} + {node|short} ' fileannotatechild = ' child {rev} - {node|short} + {node|short} ' tags = tags.tmpl tagentry = ' {date|rfc822date} - {tag|escape} + {tag|escape} - changeset | - changelog | - files + changeset | + changelog | + files ' bookmarks = bookmarks.tmpl bookmarkentry = ' {date|rfc822date} - {bookmark|escape} + {bookmark|escape} - changeset | - changelog | - files + changeset | + changelog | + files ' branches = branches.tmpl branchentry = ' {date|rfc822date} - {node|short} + {node|short} {branch|escape} - changeset | - changelog | - files + changeset | + changelog | + files ' diffblock = '
    {lines}
    ' @@ -212,7 +212,7 @@ parent {rev} - + {node|short} @@ -221,7 +221,7 @@ parent {rev} - + {node|short} @@ -229,64 +229,64 @@ filelogparent = ' parent {rev}:  - {node|short} + {node|short} ' filediffchild = ' child {rev} - {node|short} + {node|short} ' filecompchild = ' child {rev} - {node|short} + {node|short} ' filelogchild = ' child {rev}:  - {node|short} + {node|short} ' shortlog = shortlog.tmpl graph = graph.tmpl -tagtag = '{name} ' -branchtag = '{name} ' -inbranchtag = '{name} ' -bookmarktag = '{name} ' +tagtag = '{name|escape} ' +branchtag = '{name|escape} ' +inbranchtag = '{name|escape} ' +bookmarktag = '{name|escape} ' shortlogentry = ' {date|rfc822date} {author|person} - + {desc|strip|firstline|escape|nonempty} {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag} - changeset | - files + changeset | + files ' filelogentry = ' {date|rfc822date} - + {desc|strip|firstline|escape|nonempty} - file | diff | annotate {rename%filelogrename} + file | diff | annotate {rename%filelogrename} ' -archiveentry = ' | {type|escape} ' +archiveentry = ' | {type|escape} ' indexentry = ' - + {name|escape} @@ -296,13 +296,13 @@ {archives%indexarchiveentry} {if(isdirectory, '', '' )} \n' -indexarchiveentry = ' {type|escape} ' +indexarchiveentry = ' {type|escape} ' index = index.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '' -breadcrumb = '> {name} ' +breadcrumb = '> {name|escape} ' diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/notfound.tmpl --- a/mercurial/templates/gitweb/notfound.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/notfound.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -12,7 +12,7 @@ The specified repository "{repo|escape}" is unknown, sorry.

    -Please go back to the main repository list page. +Please go back to the main repository list page. {footer} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/search.tmpl --- a/mercurial/templates/gitweb/search.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/search.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Search + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -11,7 +11,7 @@ Mercurial Mercurial {pathdef%breadcrumb} / search -
    + {sessionvars%hiddenformentry} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/shortlog.tmpl --- a/mercurial/templates/gitweb/shortlog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/shortlog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: Shortlog + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/> @@ -12,22 +12,22 @@ Mercurial {pathdef%breadcrumb} / shortlog - + {sessionvars%hiddenformentry}
    diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/gitweb/summary.tmpl --- a/mercurial/templates/gitweb/summary.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/gitweb/summary.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,16 +1,16 @@ {header} {repo|escape}: Summary + href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/> + href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/>
    -

    mercurial

    +

    mercurial

    diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/monoblue/manifest.tmpl --- a/mercurial/templates/monoblue/manifest.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/manifest.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} {repo|escape}: files - - + + @@ -9,7 +9,7 @@ @@ -43,7 +43,7 @@ drwxr-xr-x - [up] + [up]   {dentries%direntry} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/monoblue/map --- a/mercurial/templates/monoblue/map Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/map Fri Feb 01 20:43:35 2013 +0100 @@ -11,35 +11,35 @@ help = help.tmpl helptopics = helptopics.tmpl -helpentry = '{topic|escape}{summary|escape}' +helpentry = '{topic|escape}{summary|escape}' -naventry = '{label|escape} ' -navshortentry = '{label|escape} ' -navgraphentry = '{label|escape} ' -filenaventry = '{label|escape}' -filedifflink = '{file|escape} ' +naventry = '{label|escape} ' +navshortentry = '{label|escape} ' +navgraphentry = '{label|escape} ' +filenaventry = '{label|escape}' +filedifflink = '{file|escape} ' filenodelink = ' - {file|escape} + {file|escape} - file | - annotate | - diff | - comparison | - revisions + file | + annotate | + diff | + comparison | + revisions ' filenolink = ' - {file|escape} + {file|escape} file | annotate | - diff | - comparison | - revisions + diff | + comparison | + revisions ' @@ -58,19 +58,19 @@ drwxr-xr-x - {basename|escape} - files + {basename|escape} + files ' fileentry = ' {permissions|permissions} {date|isodate} {size} - {basename|escape} + {basename|escape} - file | - revisions | - annotate + file | + revisions | + annotate ' filerevision = filerevision.tmpl @@ -85,7 +85,7 @@ annotateline = ' - {author|user}@{rev} @@ -112,136 +112,136 @@ parent {rev}: - {node|short} + {node|short} ' -changesetbranch = '
    branch
    {name}
    ' +changesetbranch = '
    branch
    {name|escape}
    ' changesetparent = '
    parent {rev}
    -
    {node|short}
    ' -filerevbranch = '
    branch
    {name}
    ' +
    {node|short}
    ' +filerevbranch = '
    branch
    {name|escape}
    ' filerevparent = '
    parent {rev}
    - + {rename%filerename}{node|short}
    ' filerename = '{file|escape}@' -filelogrename = '| base' +filelogrename = '| base' fileannotateparent = '
    parent {rev}
    - + {rename%filerename}{node|short}
    ' changelogchild = '
    child {rev}:
    -
    {node|short}
    ' +
    {node|short}
    ' changesetchild = '
    child {rev}
    -
    {node|short}
    ' +
    {node|short}
    ' filerevchild = '
    child {rev}
    - {node|short} + {node|short}
    ' fileannotatechild = '
    child {rev}
    - {node|short} + {node|short}
    ' tags = tags.tmpl tagentry = ' {date|rfc822date} - {tag|escape} + {tag|escape} - changeset | - changelog | - files + changeset | + changelog | + files ' bookmarks = bookmarks.tmpl bookmarkentry = ' {date|rfc822date} - {bookmark|escape} + {bookmark|escape} - changeset | - changelog | - files + changeset | + changelog | + files ' branches = branches.tmpl branchentry = ' {date|rfc822date} - {node|short} + {node|short} {branch|escape} - changeset | - changelog | - files + changeset | + changelog | + files ' diffblock = '
    {lines}
    ' filediffparent = '
    parent {rev}
    -
    {node|short}
    ' +
    {node|short}
    ' filecompparent = '
    parent {rev}
    -
    {node|short}
    ' +
    {node|short}
    ' filelogparent = ' parent {rev}:  - {node|short} + {node|short} ' filediffchild = '
    child {rev}
    -
    {node|short}
    ' +
    {node|short}
    ' filecompchild = '
    child {rev}
    -
    {node|short}
    ' +
    {node|short}
    ' filelogchild = ' child {rev}:  - {node|short} + {node|short} ' shortlog = shortlog.tmpl -tagtag = '{name} ' -branchtag = '{name} ' -inbranchtag = '{name} ' -bookmarktag = '{name} ' +tagtag = '{name|escape} ' +branchtag = '{name|escape} ' +inbranchtag = '{name|escape} ' +bookmarktag = '{name|escape} ' shortlogentry = ' {date|rfc822date} {author|person} - + {desc|strip|firstline|escape|nonempty} {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag} - changeset | - files + changeset | + files ' filelogentry = ' {date|rfc822date} - {desc|strip|firstline|escape|nonempty} + {desc|strip|firstline|escape|nonempty} - file | diff | annotate + file | diff | annotate {rename%filelogrename} ' -archiveentry = '
  • {type|escape}
  • ' +archiveentry = '
  • {type|escape}
  • ' indexentry = ' - {name|escape} + {name|escape} {description} {contact|obfuscate} {lastchange|rfc822date} @@ -249,14 +249,14 @@ {if(isdirectory, '', '' )} \n' -indexarchiveentry = '{type|escape} ' +indexarchiveentry = '{type|escape} ' index = index.tmpl urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '' graph = graph.tmpl -breadcrumb = '> {name} ' +breadcrumb = '> {name|escape} ' diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/monoblue/notfound.tmpl --- a/mercurial/templates/monoblue/notfound.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/notfound.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} {repo|escape}: Mercurial repository not found - - + + @@ -9,7 +9,7 @@

    The specified repository "{repo|escape}" is unknown, sorry.

    -

    Please go back to the main repository list page.

    +

    Please go back to the main repository list page.

    {footer} diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/monoblue/search.tmpl --- a/mercurial/templates/monoblue/search.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/search.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} {repo|escape}: Search - - + + @@ -9,7 +9,7 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/monoblue/shortlog.tmpl --- a/mercurial/templates/monoblue/shortlog.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/shortlog.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} {repo|escape}: shortlog - - + + @@ -9,7 +9,7 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/monoblue/summary.tmpl --- a/mercurial/templates/monoblue/summary.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/summary.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} {repo|escape}: Summary - - + + @@ -9,7 +9,7 @@ @@ -42,27 +42,27 @@
    {lastchange|rfc822date}
    -

    Changes

    +

    Changes

    {shortlog} - +
    ......
    -

    Tags

    +

    Tags

    {tags} - +
    ......
    -

    Bookmarks

    +

    Bookmarks

    {bookmarks%bookmarkentry} - +
    ......
    diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/monoblue/tags.tmpl --- a/mercurial/templates/monoblue/tags.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/monoblue/tags.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,7 +1,7 @@ {header} {repo|escape}: Tags - - + + @@ -9,7 +9,7 @@ diff -r 462579cbad45 -r 9409aeaafdc1 mercurial/templates/paper/bookmarks.tmpl --- a/mercurial/templates/paper/bookmarks.tmpl Fri Feb 01 15:14:05 2013 -0600 +++ b/mercurial/templates/paper/bookmarks.tmpl Fri Feb 01 20:43:35 2013 +0100 @@ -1,9 +1,9 @@ {header} {repo|escape}: bookmarks + href="{url|urlescape}atom-bookmarks" title="Atom feed for {repo|escape}: bookmarks" /> + href="{url|urlescape}rss-bookmarks" title="RSS feed for {repo|escape}: bookmarks" /> @@ -11,22 +11,22 @@ @@ -35,7 +35,7 @@

    bookmarks

    -