##// END OF EJS Templates
tests: fix run-tests when there's a bad #if in a test...
tests: fix run-tests when there's a bad #if in a test That has (and still does) caused the test to be skipped, but without this fix it was possible to exit this block of code without clearing the output channel, which poisoned the channel list for later test method runs. Fix this by always clearing the channel in a finally. The test for this is somewhat unfortunate. Sadly, I couldn't get a way to reproduce this with less than 2n+1 test cases, nor could I get it to reproduce reliably without the sleep statements. It's also crucial that the test with the broken #if be smaller (in terms of byte count) than the sleeping tests, so that it runs first and would poison the channel list prior to another test needing that entry from the list.

File last commit:

r28712:80e92247 default
r32622:931bb962 default
Show More
bookmarks.tmpl
11 lines | 372 B | application/x-cheetah | CheetahLexer
Yuya Nishihara
hgweb: add missing bookmarks templates to atom/rss styles...
r13858 {header}
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <id>{urlbase}{url|urlescape}</id>
<link rel="self" href="{urlbase}{url|urlescape}atom-bookmarks"/>
<link rel="alternate" href="{urlbase}{url|urlescape}bookmarks"/>
Yuya Nishihara
hgweb: add missing bookmarks templates to atom/rss styles...
r13858 <title>{repo|escape}: bookmarks</title>
<summary>{repo|escape} bookmark history</summary>
<author><name>Mercurial SCM</name></author>
av6
hgweb: generate last change date for an empty atom-bookmarks feed (issue5022)...
r28712 {lastchange%feedupdated}
Yuya Nishihara
hgweb: add missing bookmarks templates to atom/rss styles...
r13858
{entries%bookmarkentry}
</feed>