hgweb: don't dereference symbolic revision in gitweb style
Let's make gitweb 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/<tip hash>), this will be addressed in future patches.
Showing
- mercurial/templates/gitweb/changelog.tmpl 2 additions, 2 deletionsmercurial/templates/gitweb/changelog.tmpl
- mercurial/templates/gitweb/changeset.tmpl 4 additions, 4 deletionsmercurial/templates/gitweb/changeset.tmpl
- mercurial/templates/gitweb/fileannotate.tmpl 7 additions, 7 deletionsmercurial/templates/gitweb/fileannotate.tmpl
- mercurial/templates/gitweb/filecomparison.tmpl 7 additions, 7 deletionsmercurial/templates/gitweb/filecomparison.tmpl
- mercurial/templates/gitweb/filediff.tmpl 7 additions, 7 deletionsmercurial/templates/gitweb/filediff.tmpl
- mercurial/templates/gitweb/filelog.tmpl 4 additions, 4 deletionsmercurial/templates/gitweb/filelog.tmpl
- mercurial/templates/gitweb/filerevision.tmpl 7 additions, 7 deletionsmercurial/templates/gitweb/filerevision.tmpl
- mercurial/templates/gitweb/graph.tmpl 6 additions, 6 deletionsmercurial/templates/gitweb/graph.tmpl
- mercurial/templates/gitweb/manifest.tmpl 2 additions, 2 deletionsmercurial/templates/gitweb/manifest.tmpl
- mercurial/templates/gitweb/map 8 additions, 8 deletionsmercurial/templates/gitweb/map
- mercurial/templates/gitweb/shortlog.tmpl 2 additions, 2 deletionsmercurial/templates/gitweb/shortlog.tmpl
- tests/test-hgweb-commands.t 6 additions, 6 deletionstests/test-hgweb-commands.t
- tests/test-hgweb-descend-empties.t 11 additions, 11 deletionstests/test-hgweb-descend-empties.t
- tests/test-hgweb-symrev.t 74 additions, 74 deletionstests/test-hgweb-symrev.t
Loading
Please register or sign in to comment