# HG changeset patch # User Brendan Cully # Date 2006-10-14 23:07:52 # Node ID 22a106cb565002beaa727acccefbeaf565deb608 # Parent 17894d1d9eea80338dcc9c1b19ebbe023d49484c hgweb: better file rename links diff --git a/templates/fileannotate.tmpl b/templates/fileannotate.tmpl --- a/templates/fileannotate.tmpl +++ b/templates/fileannotate.tmpl @@ -20,7 +20,6 @@ changeset #rev#: #node|short# -#rename%filerename# #parent%fileannotateparent# #child%fileannotatechild# diff --git a/templates/filerevision.tmpl b/templates/filerevision.tmpl --- a/templates/filerevision.tmpl +++ b/templates/filerevision.tmpl @@ -20,7 +20,6 @@ changeset #rev#: #node|short# -#rename%filerename# #parent%filerevparent# #child%filerevchild# diff --git a/templates/gitweb/fileannotate.tmpl b/templates/gitweb/fileannotate.tmpl --- a/templates/gitweb/fileannotate.tmpl +++ b/templates/gitweb/fileannotate.tmpl @@ -30,7 +30,6 @@ annotate | changeset #rev#: #node|short# -#rename%filerename# #parent%fileannotateparent# #child%fileannotatechild# diff --git a/templates/gitweb/filerevision.tmpl b/templates/gitweb/filerevision.tmpl --- a/templates/gitweb/filerevision.tmpl +++ b/templates/gitweb/filerevision.tmpl @@ -29,7 +29,6 @@ file | changeset #rev#: #node|short# -#rename%filerename# #parent%filerevparent# #child%filerevchild# diff --git a/templates/gitweb/map b/templates/gitweb/map --- a/templates/gitweb/map +++ b/templates/gitweb/map @@ -28,10 +28,10 @@ difflineat = '
parent #rev#:#node|short#' changesetparent = 'parent#node|short#' -filerevparent = 'parent:#node|short#' -filerename = 'parent:#file|escape#@#node|short#' +filerevparent = 'parent:{rename%filerename}{node|short}' +filerename = '{file|escape}@' filelogrename = '| base' -fileannotateparent = 'parent:#node|short#' +fileannotateparent = 'parent:{rename%filerename}{node|short}' changelogchild = 'child #rev#:#node|short#' changesetchild = 'child#node|short#' filerevchild = 'child:#node|short#' diff --git a/templates/map b/templates/map --- a/templates/map +++ b/templates/map @@ -29,10 +29,10 @@ difflineat = '#line diffline = '#line|escape#' changelogparent = 'parent #rev#:#node|short#' changesetparent = 'parent #rev#:#node|short#' -filerevparent = 'parent:#node|short#' -filerename = 'parent:#file|escape#@#node|short#' +filerevparent = 'parent:{rename%filerename}{node|short}' +filerename = '{file|escape}@' filelogrename = 'base:#file|escape#@#node|short#' -fileannotateparent = 'parent:#node|short#' +fileannotateparent = 'parent:{rename%filerename}{node|short}' changesetchild = 'child #rev#:#node|short#' changelogchild = 'child #rev#:#node|short#' filerevchild = 'child:#node|short#'