Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-commands.t @ 26666:e901df65b108
gitweb: don't drop current revision context on graph page
In hgweb, some pages have a context of current revision; e.g. changelog and
shortlog show changesets starting from this current revision. However, some
gitweb templates were dropping current revision from some urls _to_ /graph page
and _on_ that page. This patch fixes it.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 26 Sep 2015 18:16:49 +0800 |
parents | 93a3687a94d7 |
children | 0856f1bfbe1e |
line wrap: on
line diff
--- a/tests/test-hgweb-commands.t Tue Oct 13 16:05:30 2015 -0700 +++ b/tests/test-hgweb-commands.t Sat Sep 26 18:16:49 2015 +0800 @@ -1726,7 +1726,7 @@ </form> <div class="page_nav"> <a href="/summary?style=gitweb">summary</a> | - <a href="/shortlog?style=gitweb">shortlog</a> | + <a href="/shortlog/tip?style=gitweb">shortlog</a> | <a href="/log/tip?style=gitweb">changelog</a> | graph | <a href="/tags?style=gitweb">tags</a> |