##// 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:

r31661:f36dc643 default
r32622:931bb962 default
Show More
filelogentry.tmpl
9 lines | 427 B | application/x-cheetah | CheetahLexer
Alexander Plavin
hgweb: make stripes in file log with CSS
r19454 <tr>
Brodie Rao
hgweb: fix dynamic date calculation not working under Safari...
r15375 <td class="age">{date|rfc822date}</td>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <td class="author">{author|person}</td>
Anton Shestakov
hgweb: split some long lines in paper, gitweb and monoblue styles...
r25108 <td class="description">
<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>
Anton Shestakov
hgweb: also display changeset bookmarks in file log (style=paper)...
r25110 {inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}{rename%filelogrename}
Anton Shestakov
hgweb: split some long lines in paper, gitweb and monoblue styles...
r25108 </td>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 </tr>
Denis Laxalde
hgweb: add a "patch" query parameter to filelog command...
r31661 {if(patch, '<tr><td colspan="3">{diff}</td></tr>')}