diff --git a/mercurial/templates/gitweb/changeset.tmpl b/mercurial/templates/gitweb/changeset.tmpl
--- a/mercurial/templates/gitweb/changeset.tmpl
+++ b/mercurial/templates/gitweb/changeset.tmpl
@@ -35,7 +35,10 @@ changeset |
author | {author|obfuscate} |
| {date|rfc822date} |
{branch%changesetbranch}
-changeset {rev} | {node|short} |
+
+ changeset {rev} |
+ {node|short} |
+
{ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)}
{child%changesetchild}
diff --git a/mercurial/templates/monoblue/changeset.tmpl b/mercurial/templates/monoblue/changeset.tmpl
--- a/mercurial/templates/monoblue/changeset.tmpl
+++ b/mercurial/templates/monoblue/changeset.tmpl
@@ -48,7 +48,7 @@
{date|rfc822date}
{branch%changesetbranch}
changeset {rev}
- {node|short}
+ {node|short}
{ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)}
{child%changesetchild}
diff --git a/tests/test-hgweb-symrev.t b/tests/test-hgweb-symrev.t
--- a/tests/test-hgweb-symrev.t
+++ b/tests/test-hgweb-symrev.t
@@ -474,6 +474,7 @@ Set up the repo
files |
raw | zip |
second xyzzy
+ a7c1559b7bba |
43c799df6e75
9d8c40cba617
foo |
@@ -691,6 +692,7 @@ Set up the repo
raw
zip
+ a7c1559b7bba
43c799df6e75
9d8c40cba617
foo |