# HG changeset patch # User Anton Shestakov # Date 1434442059 -28800 # Node ID 3bb6f5f478a70084782ad6ca9a31624a8ff3dd72 # Parent dd89304687a3975832b236fadf255ef7e002b9a9 hgweb: don't dereference symbolic revision in paper & coal style (issue2296) Let's make paper (and coal, since it borrows so much from paper) templates use symbolic revision in navigation links. The majority of links (log, filelog, annotate, etc) still use node hashes. Some pages don't have permanent links to current node hash (so it's not very easy to go from /rev/tip to /rev/), this will be addressed in future patches. diff -r dd89304687a3 -r 3bb6f5f478a7 mercurial/templates/coal/map --- a/mercurial/templates/coal/map Tue Jun 16 14:37:53 2015 +0800 +++ b/mercurial/templates/coal/map Tue Jun 16 16:07:39 2015 +0800 @@ -45,10 +45,10 @@ direntry = ' - + dir. {basename|escape}/ - + {emptydirs|escape} @@ -59,7 +59,7 @@ fileentry = ' - + file {basename|escape} @@ -230,7 +230,7 @@ index = ../paper/index.tmpl archiveentry = '
  • - {type|escape} + {type|escape}
  • ' notfound = ../paper/notfound.tmpl error = ../paper/error.tmpl diff -r dd89304687a3 -r 3bb6f5f478a7 mercurial/templates/paper/changeset.tmpl --- a/mercurial/templates/paper/changeset.tmpl Tue Jun 16 14:37:53 2015 +0800 +++ b/mercurial/templates/paper/changeset.tmpl Tue Jun 16 16:07:39 2015 +0800 @@ -9,16 +9,16 @@ mercurial