Show More
@@ -17,12 +17,7 b'' | |||||
17 | <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / files for changeset <a href="{url|urlescape}rev/{node|short}">{node|short}</a>: {path|escape}</h2> |
|
17 | <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / files for changeset <a href="{url|urlescape}rev/{node|short}">{node|short}</a>: {path|escape}</h2> | |
18 |
|
18 | |||
19 | <table cellpadding="0" cellspacing="0"> |
|
19 | <table cellpadding="0" cellspacing="0"> | |
20 | <tr class="parity{upparity}"> |
|
20 | {ifeq(path, up, '', updirentry)} | |
21 | <td><tt>drwxr-xr-x</tt> |
|
|||
22 | <td> |
|
|||
23 | <td> |
|
|||
24 | <td><a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a> |
|
|||
25 | </tr> |
|
|||
26 | {dentries%direntry} |
|
21 | {dentries%direntry} | |
27 | {fentries%fileentry} |
|
22 | {fentries%fileentry} | |
28 | </table> |
|
23 | </table> |
@@ -25,6 +25,16 b" navshort = '{before%navshortentry}{after" | |||||
25 | navgraph = '{before%navgraphentry}{after%navgraphentry}' |
|
25 | navgraph = '{before%navgraphentry}{after%navgraphentry}' | |
26 | filenav = '{before%filenaventry}{after%filenaventry}' |
|
26 | filenav = '{before%filenaventry}{after%filenaventry}' | |
27 |
|
27 | |||
|
28 | updirentry = ' | |||
|
29 | <tr class="parity{upparity}"> | |||
|
30 | <td><tt>drwxr-xr-x</tt> </td> | |||
|
31 | <td> </td> | |||
|
32 | <td> </td> | |||
|
33 | <td> | |||
|
34 | <a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a> | |||
|
35 | </td> | |||
|
36 | </tr> ' | |||
|
37 | ||||
28 | direntry = ' |
|
38 | direntry = ' | |
29 | <tr class="parity{parity}"> |
|
39 | <tr class="parity{parity}"> | |
30 | <td><tt>drwxr-xr-x</tt> </td> |
|
40 | <td><tt>drwxr-xr-x</tt> </td> |
@@ -504,12 +504,7 b' manifest with descending (spartan)' | |||||
504 | <h2><a href="/">Mercurial</a> / files for changeset <a href="/rev/c9f45f7a1659">c9f45f7a1659</a>: /</h2> |
|
504 | <h2><a href="/">Mercurial</a> / files for changeset <a href="/rev/c9f45f7a1659">c9f45f7a1659</a>: /</h2> | |
505 |
|
505 | |||
506 | <table cellpadding="0" cellspacing="0"> |
|
506 | <table cellpadding="0" cellspacing="0"> | |
507 | <tr class="parity0"> |
|
507 | ||
508 | <td><tt>drwxr-xr-x</tt> |
|
|||
509 | <td> |
|
|||
510 | <td> |
|
|||
511 | <td><a href="/file/tip/?style=spartan">[up]</a> |
|
|||
512 | </tr> |
|
|||
513 |
|
508 | |||
514 | <tr class="parity1"> |
|
509 | <tr class="parity1"> | |
515 | <td><tt>drwxr-xr-x</tt> </td> |
|
510 | <td><tt>drwxr-xr-x</tt> </td> |
@@ -956,7 +956,6 b' Set up the repo' | |||||
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> | |
@@ -1029,7 +1028,6 b' Set up the repo' | |||||
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> |
@@ -816,6 +816,10 b" no '[up]' entry in file view when in roo" | |||||
816 | [1] |
|
816 | [1] | |
817 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=monoblue' | grep -F '[up]' |
|
817 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=monoblue' | grep -F '[up]' | |
818 | <a href="/file/tip/?style=monoblue">[up]</a> |
|
818 | <a href="/file/tip/?style=monoblue">[up]</a> | |
|
819 | $ get-with-headers.py localhost:$HGPORT 'file/tip?style=spartan' | grep -F '[up]' | |||
|
820 | [1] | |||
|
821 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=spartan' | grep -F '[up]' | |||
|
822 | <a href="/file/tip/?style=spartan">[up]</a> | |||
819 |
|
823 | |||
820 | no style can be loaded from directories other than the specified paths |
|
824 | no style can be loaded from directories other than the specified paths | |
821 |
|
825 |
General Comments 0
You need to be logged in to leave comments.
Login now