hgweb: don't dereference symbolic revision in spartan style
Let's make spartan templates use symbolic revision in navigation links. The majority of links (log, filelog, annotate, etc) still use node hashes, and many pages also have permanent link to current node hash (i.e. you can go from /rev/tip to /rev/<tip hash> without manual url editing), so it's safe to update navigation.
Showing
- mercurial/templates/spartan/changelog.tmpl 2 additions, 2 deletionsmercurial/templates/spartan/changelog.tmpl
- mercurial/templates/spartan/changeset.tmpl 4 additions, 4 deletionsmercurial/templates/spartan/changeset.tmpl
- mercurial/templates/spartan/fileannotate.tmpl 7 additions, 7 deletionsmercurial/templates/spartan/fileannotate.tmpl
- mercurial/templates/spartan/filediff.tmpl 7 additions, 7 deletionsmercurial/templates/spartan/filediff.tmpl
- mercurial/templates/spartan/filelog.tmpl 2 additions, 2 deletionsmercurial/templates/spartan/filelog.tmpl
- mercurial/templates/spartan/filerevision.tmpl 7 additions, 7 deletionsmercurial/templates/spartan/filerevision.tmpl
- mercurial/templates/spartan/graph.tmpl 1 addition, 1 deletionmercurial/templates/spartan/graph.tmpl
- mercurial/templates/spartan/manifest.tmpl 4 additions, 4 deletionsmercurial/templates/spartan/manifest.tmpl
- mercurial/templates/spartan/map 4 additions, 4 deletionsmercurial/templates/spartan/map
- mercurial/templates/spartan/shortlog.tmpl 2 additions, 2 deletionsmercurial/templates/spartan/shortlog.tmpl
- tests/test-hgweb-descend-empties.t 10 additions, 10 deletionstests/test-hgweb-descend-empties.t
- tests/test-hgweb-filelog.t 2 additions, 2 deletionstests/test-hgweb-filelog.t
- tests/test-hgweb-symrev.t 56 additions, 56 deletionstests/test-hgweb-symrev.t
Loading
Please register or sign in to comment