hgweb: also display changeset bookmarks in file log (style=paper)
There already are branches and tags in file log, now let's add what's been
missing: bookmarks.
Also, since coal borrows this template from paper, this change is effective for
coal as well.
--- a/mercurial/templates/paper/filelogentry.tmpl Fri May 15 13:30:34 2015 +0800
+++ b/mercurial/templates/paper/filelogentry.tmpl Fri May 15 12:19:51 2015 +0800
@@ -3,6 +3,6 @@
<td class="author">{author|person}</td>
<td class="description">
<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>
- {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename}
+ {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}{rename%filelogrename}
</td>
</tr>
--- a/tests/test-hgweb-filelog.t Fri May 15 13:30:34 2015 +0800
+++ b/tests/test-hgweb-filelog.t Fri May 15 12:19:51 2015 +0800
@@ -223,7 +223,7 @@
<td class="author">test</td>
<td class="description">
<a href="/rev/5ed941583260">first a</a>
- <span class="tag">a-tag</span>
+ <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
</td>
</tr>
@@ -340,7 +340,7 @@
<td class="author">test</td>
<td class="description">
<a href="/rev/5ed941583260">first a</a>
- <span class="tag">a-tag</span>
+ <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
</td>
</tr>
@@ -449,7 +449,7 @@
<td class="author">test</td>
<td class="description">
<a href="/rev/5ed941583260">first a</a>
- <span class="tag">a-tag</span>
+ <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
</td>
</tr>
@@ -558,7 +558,7 @@
<td class="author">test</td>
<td class="description">
<a href="/rev/5ed941583260">first a</a>
- <span class="tag">a-tag</span>
+ <span class="tag">a-tag</span> <span class="tag">a-bookmark</span>
</td>
</tr>