Show More
@@ -46,11 +46,7 b'' | |||||
46 | </tr> |
|
46 | </tr> | |
47 | </thead> |
|
47 | </thead> | |
48 | <tbody class="stripes2"> |
|
48 | <tbody class="stripes2"> | |
49 | <tr class="fileline"> |
|
49 | {ifeq(path, up, '', updirentry)} | |
50 | <td class="name"><a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a></td> |
|
|||
51 | <td class="size"></td> |
|
|||
52 | <td class="permissions">drwxr-xr-x</td> |
|
|||
53 | </tr> |
|
|||
54 | {dentries%direntry} |
|
50 | {dentries%direntry} | |
55 | {fentries%fileentry} |
|
51 | {fentries%fileentry} | |
56 | </tbody> |
|
52 | </tbody> |
@@ -41,6 +41,15 b" navshort = '{before%navshortentry}{after" | |||||
41 | navgraph = '{before%navgraphentry}{after%navgraphentry}' |
|
41 | navgraph = '{before%navgraphentry}{after%navgraphentry}' | |
42 | filenav = '{before%filenaventry}{after%filenaventry}' |
|
42 | filenav = '{before%filenaventry}{after%filenaventry}' | |
43 |
|
43 | |||
|
44 | updirentry = ' | |||
|
45 | <tr class="fileline"> | |||
|
46 | <td class="name"> | |||
|
47 | <a href="{url|urlescape}file/{symrev}{up|urlescape}{sessionvars%urlparameter}">[up]</a> | |||
|
48 | </td> | |||
|
49 | <td class="size"></td> | |||
|
50 | <td class="permissions">drwxr-xr-x</td> | |||
|
51 | </tr>' | |||
|
52 | ||||
44 | direntry = ' |
|
53 | direntry = ' | |
45 | <tr class="fileline"> |
|
54 | <tr class="fileline"> | |
46 | <td class="name"> |
|
55 | <td class="name"> |
@@ -93,11 +93,7 b' manifest with descending (paper)' | |||||
93 | </tr> |
|
93 | </tr> | |
94 | </thead> |
|
94 | </thead> | |
95 | <tbody class="stripes2"> |
|
95 | <tbody class="stripes2"> | |
96 | <tr class="fileline"> |
|
96 | ||
97 | <td class="name"><a href="/file/tip/">[up]</a></td> |
|
|||
98 | <td class="size"></td> |
|
|||
99 | <td class="permissions">drwxr-xr-x</td> |
|
|||
100 | </tr> |
|
|||
101 |
|
97 | |||
102 | <tr class="fileline"> |
|
98 | <tr class="fileline"> | |
103 | <td class="name"> |
|
99 | <td class="name"> | |
@@ -213,11 +209,7 b' manifest with descending (coal)' | |||||
213 | </tr> |
|
209 | </tr> | |
214 | </thead> |
|
210 | </thead> | |
215 | <tbody class="stripes2"> |
|
211 | <tbody class="stripes2"> | |
216 | <tr class="fileline"> |
|
212 | ||
217 | <td class="name"><a href="/file/tip/?style=coal">[up]</a></td> |
|
|||
218 | <td class="size"></td> |
|
|||
219 | <td class="permissions">drwxr-xr-x</td> |
|
|||
220 | </tr> |
|
|||
221 |
|
213 | |||
222 | <tr class="fileline"> |
|
214 | <tr class="fileline"> | |
223 | <td class="name"> |
|
215 | <td class="name"> |
@@ -396,11 +396,7 b' Some tests for hgweb in an empty reposit' | |||||
396 | </tr> |
|
396 | </tr> | |
397 | </thead> |
|
397 | </thead> | |
398 | <tbody class="stripes2"> |
|
398 | <tbody class="stripes2"> | |
399 | <tr class="fileline"> |
|
399 | ||
400 | <td class="name"><a href="/file/tip/">[up]</a></td> |
|
|||
401 | <td class="size"></td> |
|
|||
402 | <td class="permissions">drwxr-xr-x</td> |
|
|||
403 | </tr> |
|
|||
404 |
|
400 | |||
405 |
|
401 | |||
406 | </tbody> |
|
402 | </tbody> |
@@ -72,7 +72,6 b' Set up the repo' | |||||
72 | <li><a href="/rev/tip?style=paper">changeset</a></li> |
|
72 | <li><a href="/rev/tip?style=paper">changeset</a></li> | |
73 | <a href="/archive/tip.zip">zip</a> |
|
73 | <a href="/archive/tip.zip">zip</a> | |
74 | directory / @ 2:<a href="/rev/9d8c40cba617?style=paper">9d8c40cba617</a> |
|
74 | directory / @ 2:<a href="/rev/9d8c40cba617?style=paper">9d8c40cba617</a> | |
75 | <td class="name"><a href="/file/tip/?style=paper">[up]</a></td> |
|
|||
76 | <a href="/file/tip/dir?style=paper"> |
|
75 | <a href="/file/tip/dir?style=paper"> | |
77 | <a href="/file/tip/dir/?style=paper"> |
|
76 | <a href="/file/tip/dir/?style=paper"> | |
78 | <a href="/file/tip/foo?style=paper"> |
|
77 | <a href="/file/tip/foo?style=paper"> | |
@@ -138,7 +137,6 b' Set up the repo' | |||||
138 | <li><a href="/rev/xyzzy?style=paper">changeset</a></li> |
|
137 | <li><a href="/rev/xyzzy?style=paper">changeset</a></li> | |
139 | <a href="/archive/xyzzy.zip">zip</a> |
|
138 | <a href="/archive/xyzzy.zip">zip</a> | |
140 | directory / @ 1:<a href="/rev/a7c1559b7bba?style=paper">a7c1559b7bba</a> |
|
139 | directory / @ 1:<a href="/rev/a7c1559b7bba?style=paper">a7c1559b7bba</a> | |
141 | <td class="name"><a href="/file/xyzzy/?style=paper">[up]</a></td> |
|
|||
142 | <a href="/file/xyzzy/dir?style=paper"> |
|
140 | <a href="/file/xyzzy/dir?style=paper"> | |
143 | <a href="/file/xyzzy/dir/?style=paper"> |
|
141 | <a href="/file/xyzzy/dir/?style=paper"> | |
144 | <a href="/file/xyzzy/foo?style=paper"> |
|
142 | <a href="/file/xyzzy/foo?style=paper"> | |
@@ -272,7 +270,6 b' Set up the repo' | |||||
272 | <li><a href="/rev/tip?style=coal">changeset</a></li> |
|
270 | <li><a href="/rev/tip?style=coal">changeset</a></li> | |
273 | <a href="/archive/tip.zip">zip</a> |
|
271 | <a href="/archive/tip.zip">zip</a> | |
274 | directory / @ 2:<a href="/rev/9d8c40cba617?style=coal">9d8c40cba617</a> |
|
272 | directory / @ 2:<a href="/rev/9d8c40cba617?style=coal">9d8c40cba617</a> | |
275 | <td class="name"><a href="/file/tip/?style=coal">[up]</a></td> |
|
|||
276 | <a href="/file/tip/dir?style=coal"> |
|
273 | <a href="/file/tip/dir?style=coal"> | |
277 | <a href="/file/tip/dir/?style=coal"> |
|
274 | <a href="/file/tip/dir/?style=coal"> | |
278 | <a href="/file/tip/foo?style=coal"> |
|
275 | <a href="/file/tip/foo?style=coal"> | |
@@ -338,7 +335,6 b' Set up the repo' | |||||
338 | <li><a href="/rev/xyzzy?style=coal">changeset</a></li> |
|
335 | <li><a href="/rev/xyzzy?style=coal">changeset</a></li> | |
339 | <a href="/archive/xyzzy.zip">zip</a> |
|
336 | <a href="/archive/xyzzy.zip">zip</a> | |
340 | directory / @ 1:<a href="/rev/a7c1559b7bba?style=coal">a7c1559b7bba</a> |
|
337 | directory / @ 1:<a href="/rev/a7c1559b7bba?style=coal">a7c1559b7bba</a> | |
341 | <td class="name"><a href="/file/xyzzy/?style=coal">[up]</a></td> |
|
|||
342 | <a href="/file/xyzzy/dir?style=coal"> |
|
338 | <a href="/file/xyzzy/dir?style=coal"> | |
343 | <a href="/file/xyzzy/dir/?style=coal"> |
|
339 | <a href="/file/xyzzy/dir/?style=coal"> | |
344 | <a href="/file/xyzzy/foo?style=coal"> |
|
340 | <a href="/file/xyzzy/foo?style=coal"> |
@@ -287,11 +287,7 b' try bad style' | |||||
287 | </tr> |
|
287 | </tr> | |
288 | </thead> |
|
288 | </thead> | |
289 | <tbody class="stripes2"> |
|
289 | <tbody class="stripes2"> | |
290 | <tr class="fileline"> |
|
290 | ||
291 | <td class="name"><a href="/file/tip/">[up]</a></td> |
|
|||
292 | <td class="size"></td> |
|
|||
293 | <td class="permissions">drwxr-xr-x</td> |
|
|||
294 | </tr> |
|
|||
295 |
|
291 | |||
296 | <tr class="fileline"> |
|
292 | <tr class="fileline"> | |
297 | <td class="name"> |
|
293 | <td class="name"> | |
@@ -802,6 +798,17 b' access bookmarks' | |||||
802 | 200 Script output follows |
|
798 | 200 Script output follows | |
803 | changeset 0:<a href="/rev/2ef0ac749a14?style=paper">2ef0ac749a14</a> |
|
799 | changeset 0:<a href="/rev/2ef0ac749a14?style=paper">2ef0ac749a14</a> | |
804 |
|
800 | |||
|
801 | no '[up]' entry in file view when in root directory | |||
|
802 | ||||
|
803 | $ get-with-headers.py localhost:$HGPORT 'file/tip?style=paper' | grep -F '[up]' | |||
|
804 | [1] | |||
|
805 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=paper' | grep -F '[up]' | |||
|
806 | <a href="/file/tip/?style=paper">[up]</a> | |||
|
807 | $ get-with-headers.py localhost:$HGPORT 'file/tip?style=coal' | grep -F '[up]' | |||
|
808 | [1] | |||
|
809 | $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=coal' | grep -F '[up]' | |||
|
810 | <a href="/file/tip/?style=coal">[up]</a> | |||
|
811 | ||||
805 | no style can be loaded from directories other than the specified paths |
|
812 | no style can be loaded from directories other than the specified paths | |
806 |
|
813 | |||
807 | $ mkdir -p x/templates/fallback |
|
814 | $ mkdir -p x/templates/fallback |
General Comments 0
You need to be logged in to leave comments.
Login now