comparison tests/test-hgweb-symrev.t @ 26391:f206543d8380

monoblue: provide links to branches, tags and bookmarks by name This is adapted from cd842821db2c, that was added to paper for 3.5 release. It adds another way to refer to branches, tags and bookmarks in urls: by name. It's still possible to navigate to a specific changeset hash, but now you can get more descriptive urls straight from /summary page, for example. branchentry template (and so the whole branches table on /summary and /branches) lost the column that had a plain changeset hash, because tags and bookmarks don't have this column and also because there is already a way to address branch by its changeset hash (changeset link just next to it). Maybe we can instead bring this column with a plain changeset hash to tags and bookmarks, but this, more terse, new look feels fine.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 26 Sep 2015 17:24:12 +0800
parents 0f0cda81e9b0
children 264e88901c44
comparison
equal deleted inserted replaced
26390:0f0cda81e9b0 26391:f206543d8380
647 <a href="/rev/a7c1559b7bba?style=monoblue">changeset</a> | 647 <a href="/rev/a7c1559b7bba?style=monoblue">changeset</a> |
648 <a href="/file/a7c1559b7bba?style=monoblue">files</a> 648 <a href="/file/a7c1559b7bba?style=monoblue">files</a>
649 <a href="/rev/43c799df6e75?style=monoblue"> 649 <a href="/rev/43c799df6e75?style=monoblue">
650 <a href="/rev/43c799df6e75?style=monoblue">changeset</a> | 650 <a href="/rev/43c799df6e75?style=monoblue">changeset</a> |
651 <a href="/file/43c799df6e75?style=monoblue">files</a> 651 <a href="/file/43c799df6e75?style=monoblue">files</a>
652 <td><a href="/rev/a7c1559b7bba?style=monoblue">xyzzy</a></td> 652 <td><a href="/rev/xyzzy?style=monoblue">xyzzy</a></td>
653 <a href="/rev/a7c1559b7bba?style=monoblue">changeset</a> | 653 <a href="/rev/a7c1559b7bba?style=monoblue">changeset</a> |
654 <a href="/log/a7c1559b7bba?style=monoblue">changelog</a> | 654 <a href="/log/a7c1559b7bba?style=monoblue">changelog</a> |
655 <a href="/file/a7c1559b7bba?style=monoblue">files</a> 655 <a href="/file/a7c1559b7bba?style=monoblue">files</a>
656 <td><a href="/shortlog/9d8c40cba617?style=monoblue">9d8c40cba617</a></td> 656 <td class="open"><a href="/shortlog/default?style=monoblue">default</a></td>
657 <a href="/rev/9d8c40cba617?style=monoblue">changeset</a> | 657 <a href="/rev/9d8c40cba617?style=monoblue">changeset</a> |
658 <a href="/log/9d8c40cba617?style=monoblue">changelog</a> | 658 <a href="/log/9d8c40cba617?style=monoblue">changelog</a> |
659 <a href="/file/9d8c40cba617?style=monoblue">files</a> 659 <a href="/file/9d8c40cba617?style=monoblue">files</a>
660 660
661 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=monoblue' | egrep $REVLINKS 661 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=monoblue' | egrep $REVLINKS
687 <a href="/graph/tip?revcount=30&style=monoblue">less</a> 687 <a href="/graph/tip?revcount=30&style=monoblue">less</a>
688 <a href="/graph/tip?revcount=120&style=monoblue">more</a> 688 <a href="/graph/tip?revcount=120&style=monoblue">more</a>
689 | <a href="/graph/43c799df6e75?style=monoblue">(0)</a> <a href="/graph/tip?style=monoblue">tip</a> 689 | <a href="/graph/43c799df6e75?style=monoblue">(0)</a> <a href="/graph/tip?style=monoblue">tip</a>
690 690
691 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'tags?style=monoblue' | egrep $REVLINKS 691 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'tags?style=monoblue' | egrep $REVLINKS
692 <td><a href="/rev/9d8c40cba617?style=monoblue">tip</a></td> 692 <td><a href="/rev/tip?style=monoblue">tip</a></td>
693 <a href="/rev/9d8c40cba617?style=monoblue">changeset</a> | 693 <a href="/rev/9d8c40cba617?style=monoblue">changeset</a> |
694 <a href="/log/9d8c40cba617?style=monoblue">changelog</a> | 694 <a href="/log/9d8c40cba617?style=monoblue">changelog</a> |
695 <a href="/file/9d8c40cba617?style=monoblue">files</a> 695 <a href="/file/9d8c40cba617?style=monoblue">files</a>
696 696
697 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'bookmarks?style=monoblue' | egrep $REVLINKS 697 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'bookmarks?style=monoblue' | egrep $REVLINKS
698 <td><a href="/rev/a7c1559b7bba?style=monoblue">xyzzy</a></td> 698 <td><a href="/rev/xyzzy?style=monoblue">xyzzy</a></td>
699 <a href="/rev/a7c1559b7bba?style=monoblue">changeset</a> | 699 <a href="/rev/a7c1559b7bba?style=monoblue">changeset</a> |
700 <a href="/log/a7c1559b7bba?style=monoblue">changelog</a> | 700 <a href="/log/a7c1559b7bba?style=monoblue">changelog</a> |
701 <a href="/file/a7c1559b7bba?style=monoblue">files</a> 701 <a href="/file/a7c1559b7bba?style=monoblue">files</a>
702 702
703 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'branches?style=monoblue' | egrep $REVLINKS 703 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'branches?style=monoblue' | egrep $REVLINKS
704 <td><a href="/shortlog/9d8c40cba617?style=monoblue">9d8c40cba617</a></td> 704 <td class="open"><a href="/shortlog/default?style=monoblue">default</a></td>
705 <a href="/rev/9d8c40cba617?style=monoblue">changeset</a> | 705 <a href="/rev/9d8c40cba617?style=monoblue">changeset</a> |
706 <a href="/log/9d8c40cba617?style=monoblue">changelog</a> | 706 <a href="/log/9d8c40cba617?style=monoblue">changelog</a> |
707 <a href="/file/9d8c40cba617?style=monoblue">files</a> 707 <a href="/file/9d8c40cba617?style=monoblue">files</a>
708 708
709 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file?style=monoblue' | egrep $REVLINKS 709 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'file?style=monoblue' | egrep $REVLINKS