# HG changeset patch # User Brendan Cully # Date 1161299701 25200 # Node ID 9fab252a754582f8004538f6480b9030cb8add57 # Parent 62f53b8f00c48d175108b154c28aac148012d9ad gitweb: add revision numbers to annotate changeset links diff --git a/templates/gitweb/fileannotate.tmpl b/templates/gitweb/fileannotate.tmpl --- a/templates/gitweb/fileannotate.tmpl +++ b/templates/gitweb/fileannotate.tmpl @@ -1,5 +1,5 @@ #header# -#repo|escape#: Annotate +{repo|escape}: {file|escape}@{node|short} (annotated) diff --git a/templates/gitweb/map b/templates/gitweb/map --- a/templates/gitweb/map +++ b/templates/gitweb/map @@ -32,11 +32,11 @@ changesetparent = 'parent {rev}< filerevparent = 'parent {rev}:{rename%filerename}{node|short}' filerename = '{file|escape}@' filelogrename = '| base' -fileannotateparent = 'parent:{rename%filerename}{node|short}' +fileannotateparent = 'parent {rev}:{rename%filerename}{node|short}' changelogchild = 'child #rev#:#node|short#' changesetchild = 'child {rev}{node|short}' filerevchild = 'child {rev}:{node|short}' -fileannotatechild = 'child:#node|short#' +fileannotatechild = 'child {rev}:{node|short}' tags = tags.tmpl tagentry = '#date|age# ago#tag|escape#changeset | changelog | manifest' diffblock = '
#lines#
'