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/<tip hash>), this will be addressed in future patches.
Showing
- mercurial/templates/coal/map 4 additions, 4 deletionsmercurial/templates/coal/map
- mercurial/templates/paper/changeset.tmpl 4 additions, 4 deletionsmercurial/templates/paper/changeset.tmpl
- mercurial/templates/paper/fileannotate.tmpl 9 additions, 9 deletionsmercurial/templates/paper/fileannotate.tmpl
- mercurial/templates/paper/filecomparison.tmpl 9 additions, 9 deletionsmercurial/templates/paper/filecomparison.tmpl
- mercurial/templates/paper/filediff.tmpl 9 additions, 9 deletionsmercurial/templates/paper/filediff.tmpl
- mercurial/templates/paper/filelog.tmpl 13 additions, 13 deletionsmercurial/templates/paper/filelog.tmpl
- mercurial/templates/paper/filerevision.tmpl 9 additions, 9 deletionsmercurial/templates/paper/filerevision.tmpl
- mercurial/templates/paper/graph.tmpl 7 additions, 7 deletionsmercurial/templates/paper/graph.tmpl
- mercurial/templates/paper/manifest.tmpl 4 additions, 4 deletionsmercurial/templates/paper/manifest.tmpl
- mercurial/templates/paper/map 4 additions, 4 deletionsmercurial/templates/paper/map
- mercurial/templates/paper/shortlog.tmpl 7 additions, 7 deletionsmercurial/templates/paper/shortlog.tmpl
- tests/test-hgweb-commands.t 29 additions, 29 deletionstests/test-hgweb-commands.t
- tests/test-hgweb-descend-empties.t 20 additions, 20 deletionstests/test-hgweb-descend-empties.t
- tests/test-hgweb-diffs.t 62 additions, 62 deletionstests/test-hgweb-diffs.t
- tests/test-hgweb-empty.t 25 additions, 25 deletionstests/test-hgweb-empty.t
- tests/test-hgweb-filelog.t 52 additions, 52 deletionstests/test-hgweb-filelog.t
- tests/test-hgweb-removed.t 13 additions, 13 deletionstests/test-hgweb-removed.t
- tests/test-hgweb-symrev.t 198 additions, 198 deletionstests/test-hgweb-symrev.t
- tests/test-hgweb.t 7 additions, 7 deletionstests/test-hgweb.t
- tests/test-highlight.t 18 additions, 18 deletionstests/test-highlight.t
Loading
Please register or sign in to comment