# HG changeset patch # User Anton Shestakov # Date 2015-05-15 04:19:51 # Node ID c9f382c8233a86785457bbd0fe2a86e8325d4189 # Parent f3e0a5784ca898f5e0f558e16f0143930e324c6a 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. diff --git a/mercurial/templates/paper/filelogentry.tmpl b/mercurial/templates/paper/filelogentry.tmpl --- a/mercurial/templates/paper/filelogentry.tmpl +++ b/mercurial/templates/paper/filelogentry.tmpl @@ -3,6 +3,6 @@ {author|person} {desc|strip|firstline|escape|nonempty} - {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename} + {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}{rename%filelogrename} diff --git a/tests/test-hgweb-filelog.t b/tests/test-hgweb-filelog.t --- a/tests/test-hgweb-filelog.t +++ b/tests/test-hgweb-filelog.t @@ -223,7 +223,7 @@ tip - two revisions test first a - a-tag + a-tag a-bookmark @@ -340,7 +340,7 @@ second version - two revisions test first a - a-tag + a-tag a-bookmark @@ -449,7 +449,7 @@ first deleted - one revision test first a - a-tag + a-tag a-bookmark @@ -558,7 +558,7 @@ first version - one revision test first a - a-tag + a-tag a-bookmark