Mercurial > hg
comparison tests/test-hgweb-commands.t @ 25605:dd89304687a3
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 16 Jun 2015 14:37:53 +0800 |
parents | 32f76eccbced |
children | 3bb6f5f478a7 |
comparison
equal
deleted
inserted
replaced
25604:0cdcbc477cac | 25605:dd89304687a3 |
---|---|
1721 </div> | 1721 </div> |
1722 </form> | 1722 </form> |
1723 <div class="page_nav"> | 1723 <div class="page_nav"> |
1724 <a href="/summary?style=gitweb">summary</a> | | 1724 <a href="/summary?style=gitweb">summary</a> | |
1725 <a href="/shortlog?style=gitweb">shortlog</a> | | 1725 <a href="/shortlog?style=gitweb">shortlog</a> | |
1726 <a href="/log/3?style=gitweb">changelog</a> | | 1726 <a href="/log/tip?style=gitweb">changelog</a> | |
1727 graph | | 1727 graph | |
1728 <a href="/tags?style=gitweb">tags</a> | | 1728 <a href="/tags?style=gitweb">tags</a> | |
1729 <a href="/bookmarks?style=gitweb">bookmarks</a> | | 1729 <a href="/bookmarks?style=gitweb">bookmarks</a> | |
1730 <a href="/branches?style=gitweb">branches</a> | | 1730 <a href="/branches?style=gitweb">branches</a> | |
1731 <a href="/file/cad8025a2e87?style=gitweb">files</a> | | 1731 <a href="/file/tip?style=gitweb">files</a> | |
1732 <a href="/help?style=gitweb">help</a> | 1732 <a href="/help?style=gitweb">help</a> |
1733 <br/> | 1733 <br/> |
1734 <a href="/graph/3?revcount=30&style=gitweb">less</a> | 1734 <a href="/graph/tip?revcount=30&style=gitweb">less</a> |
1735 <a href="/graph/3?revcount=120&style=gitweb">more</a> | 1735 <a href="/graph/tip?revcount=120&style=gitweb">more</a> |
1736 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> <br/> | 1736 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> <br/> |
1737 </div> | 1737 </div> |
1738 | 1738 |
1739 <div class="title"> </div> | 1739 <div class="title"> </div> |
1740 | 1740 |
1802 | 1802 |
1803 // stop hiding script --> | 1803 // stop hiding script --> |
1804 </script> | 1804 </script> |
1805 | 1805 |
1806 <div class="page_nav"> | 1806 <div class="page_nav"> |
1807 <a href="/graph/3?revcount=30&style=gitweb">less</a> | 1807 <a href="/graph/tip?revcount=30&style=gitweb">less</a> |
1808 <a href="/graph/3?revcount=120&style=gitweb">more</a> | 1808 <a href="/graph/tip?revcount=120&style=gitweb">more</a> |
1809 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> | 1809 | <a href="/graph/2ef0ac749a14?style=gitweb">(0)</a> <a href="/graph/tip?style=gitweb">tip</a> |
1810 </div> | 1810 </div> |
1811 | 1811 |
1812 <script type="text/javascript"> | 1812 <script type="text/javascript"> |
1813 ajaxScrollInit( | 1813 ajaxScrollInit( |