Mercurial > hg-stable
diff tests/test-hgweb-filelog.t @ 25603:1cac419ab831
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 16 Jun 2015 11:52:10 +0800 |
parents | 4d2b9b304ad0 |
children | 3bb6f5f478a7 |
line wrap: on
line diff
--- a/tests/test-hgweb-filelog.t Tue Jun 16 02:07:25 2015 +0800 +++ b/tests/test-hgweb-filelog.t Tue Jun 16 11:52:10 2015 +0800 @@ -674,8 +674,8 @@ <a href="/graph?style=spartan">graph</a> <a href="/tags?style=spartan">tags</a> <a href="/branches?style=spartan">branches</a> - <a href="/file/46c1a66bd8fc/c?style=spartan">file</a> - <a href="/annotate/46c1a66bd8fc/c?style=spartan">annotate</a> + <a href="/file/tip/c?style=spartan">file</a> + <a href="/annotate/tip/c?style=spartan">annotate</a> <a href="/help?style=spartan">help</a> <a type="application/rss+xml" href="/rss-log/tip/c">rss</a> <a type="application/atom+xml" href="/atom-log/tip/c" title="Atom feed for test:c">atom</a>