# HG changeset patch # User Anton Shestakov # Date 2015-05-10 11:02:14 # Node ID 30f449378f643da08ba03b845b5a64a8ceea57da # Parent c8a97fa742b716573e8de3e82c3c6968e4537b79 hgweb: clearly outline block in gitweb and spartan styles It's easy to miss the closing tag when it's not on its own line. Some neighboring blocks also already use this clearer style. (In 03f692eee31d I didn't even think grepping for this, but this patch should now cover every occurrence). diff --git a/mercurial/templates/gitweb/fileannotate.tmpl b/mercurial/templates/gitweb/fileannotate.tmpl --- a/mercurial/templates/gitweb/fileannotate.tmpl +++ b/mercurial/templates/gitweb/fileannotate.tmpl @@ -39,19 +39,23 @@ annotate | - + + - + + {branch%filerevbranch} - + + {parent%fileannotateparent} {child%fileannotatechild} - + +
author{author|obfuscate}
{author|obfuscate}
{date|rfc822date}
{date|rfc822date}
changeset {rev}{node|short}
{node|short}
permissions{permissions|permissions}
{permissions|permissions}
diff --git a/mercurial/templates/gitweb/filecomparison.tmpl b/mercurial/templates/gitweb/filecomparison.tmpl --- a/mercurial/templates/gitweb/filecomparison.tmpl +++ b/mercurial/templates/gitweb/filecomparison.tmpl @@ -39,7 +39,8 @@ comparison | {branch%filerevbranch} changeset {rev} - {node|short} + {node|short} + {parent%filecompparent} {child%filecompchild} diff --git a/mercurial/templates/gitweb/filediff.tmpl b/mercurial/templates/gitweb/filediff.tmpl --- a/mercurial/templates/gitweb/filediff.tmpl +++ b/mercurial/templates/gitweb/filediff.tmpl @@ -39,7 +39,8 @@ diff | {branch%filerevbranch} changeset {rev} - {node|short} + {node|short} + {parent%filediffparent} {child%filediffchild} diff --git a/mercurial/templates/gitweb/filerevision.tmpl b/mercurial/templates/gitweb/filerevision.tmpl --- a/mercurial/templates/gitweb/filerevision.tmpl +++ b/mercurial/templates/gitweb/filerevision.tmpl @@ -39,19 +39,23 @@ file | - + + - + + {branch%filerevbranch} - + + {parent%filerevparent} {child%filerevchild} - + +
author{author|obfuscate}
{author|obfuscate}
{date|rfc822date}
{date|rfc822date}
changeset {rev}{node|short}
{node|short}
permissions{permissions|permissions}
{permissions|permissions}
diff --git a/mercurial/templates/spartan/fileannotate.tmpl b/mercurial/templates/spartan/fileannotate.tmpl --- a/mercurial/templates/spartan/fileannotate.tmpl +++ b/mercurial/templates/spartan/fileannotate.tmpl @@ -22,12 +22,14 @@ - + + {parent%fileannotateparent} {child%fileannotatechild} - + + diff --git a/mercurial/templates/spartan/filerevision.tmpl b/mercurial/templates/spartan/filerevision.tmpl --- a/mercurial/templates/spartan/filerevision.tmpl +++ b/mercurial/templates/spartan/filerevision.tmpl @@ -22,18 +22,22 @@
changeset {rev}:{node|short}
{node|short}
author:{author|obfuscate}
{author|obfuscate}
date: {date|rfc822date}
- + + {parent%filerevparent} {child%filerevchild} - + + - + + - + +
changeset {rev}:{node|short}
{node|short}
author:{author|obfuscate}
{author|obfuscate}
date:{date|rfc822date}
{date|rfc822date}
permissions:{permissions|permissions}
{permissions|permissions}
description: {desc|strip|escape|websub|addbreaks|nonempty}