comparison tests/test-hgweb-symrev.t @ 38206:273ce823ba5c

spartan: don't show '[up]' in file view when in root directory already
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 31 May 2018 18:53:28 +0800
parents 9ed3527019b5
children f715faeaceee
comparison
equal deleted inserted replaced
38205:9ed3527019b5 38206:273ce823ba5c
954 <a href="/shortlog/tip?style=spartan">shortlog</a> 954 <a href="/shortlog/tip?style=spartan">shortlog</a>
955 <a href="/graph/tip?style=spartan">graph</a> 955 <a href="/graph/tip?style=spartan">graph</a>
956 <a href="/rev/tip?style=spartan">changeset</a> 956 <a href="/rev/tip?style=spartan">changeset</a>
957 <a href="/archive/tip.zip">zip</a> 957 <a href="/archive/tip.zip">zip</a>
958 <h2><a href="/">Mercurial</a> / files for changeset <a href="/rev/9d8c40cba617">9d8c40cba617</a>: /</h2> 958 <h2><a href="/">Mercurial</a> / files for changeset <a href="/rev/9d8c40cba617">9d8c40cba617</a>: /</h2>
959 <td><a href="/file/tip/?style=spartan">[up]</a>
960 <a href="/file/tip/dir?style=spartan">dir/</a> 959 <a href="/file/tip/dir?style=spartan">dir/</a>
961 <a href="/file/tip/dir/?style=spartan"> 960 <a href="/file/tip/dir/?style=spartan">
962 <td><a href="/file/tip/foo?style=spartan">foo</a></td> 961 <td><a href="/file/tip/foo?style=spartan">foo</a></td>
963 962
964 $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'shortlog?style=spartan&rev=all()' | egrep $REVLINKS 963 $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'shortlog?style=spartan&rev=all()' | egrep $REVLINKS
1027 <a href="/shortlog/xyzzy?style=spartan">shortlog</a> 1026 <a href="/shortlog/xyzzy?style=spartan">shortlog</a>
1028 <a href="/graph/xyzzy?style=spartan">graph</a> 1027 <a href="/graph/xyzzy?style=spartan">graph</a>
1029 <a href="/rev/xyzzy?style=spartan">changeset</a> 1028 <a href="/rev/xyzzy?style=spartan">changeset</a>
1030 <a href="/archive/xyzzy.zip">zip</a> 1029 <a href="/archive/xyzzy.zip">zip</a>
1031 <h2><a href="/">Mercurial</a> / files for changeset <a href="/rev/a7c1559b7bba">a7c1559b7bba</a>: /</h2> 1030 <h2><a href="/">Mercurial</a> / files for changeset <a href="/rev/a7c1559b7bba">a7c1559b7bba</a>: /</h2>
1032 <td><a href="/file/xyzzy/?style=spartan">[up]</a>
1033 <a href="/file/xyzzy/dir?style=spartan">dir/</a> 1031 <a href="/file/xyzzy/dir?style=spartan">dir/</a>
1034 <a href="/file/xyzzy/dir/?style=spartan"> 1032 <a href="/file/xyzzy/dir/?style=spartan">
1035 <td><a href="/file/xyzzy/foo?style=spartan">foo</a></td> 1033 <td><a href="/file/xyzzy/foo?style=spartan">foo</a></td>
1036 1034
1037 $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'file/xyzzy/foo?style=spartan' | egrep $REVLINKS 1035 $ "$TESTDIR/get-with-headers.py" $LOCALIP:$HGPORT 'file/xyzzy/foo?style=spartan' | egrep $REVLINKS