# HG changeset patch # User Brendan Cully # Date 1161299563 25200 # Node ID 62f53b8f00c48d175108b154c28aac148012d9ad # Parent 2ed139c3b3285a8e4cfd2c579d5c02e89b140c28 gitweb: add revision numbers to filerevision changeset links diff --git a/templates/gitweb/filerevision.tmpl b/templates/gitweb/filerevision.tmpl --- a/templates/gitweb/filerevision.tmpl +++ b/templates/gitweb/filerevision.tmpl @@ -1,5 +1,5 @@ #header# -#repo|escape#: File revision +{repo|escape}: {file|escape}@{node|short} diff --git a/templates/gitweb/map b/templates/gitweb/map --- a/templates/gitweb/map +++ b/templates/gitweb/map @@ -29,13 +29,13 @@ difflineat = '
parent #rev#:#node|short#' changesetparent = 'parent {rev}{node|short}' -filerevparent = 'parent:{rename%filerename}{node|short}' +filerevparent = 'parent {rev}:{rename%filerename}{node|short}' filerename = '{file|escape}@' filelogrename = '| base' fileannotateparent = 'parent:{rename%filerename}{node|short}' changelogchild = 'child #rev#:#node|short#' changesetchild = 'child {rev}{node|short}' -filerevchild = 'child:#node|short#' +filerevchild = 'child {rev}:{node|short}' fileannotatechild = 'child:#node|short#' tags = tags.tmpl tagentry = '#date|age# ago#tag|escape#changeset | changelog | manifest'