##// END OF EJS Templates
statichttprepo: use a context manager to handle a file descriptor...
statichttprepo: use a context manager to handle a file descriptor I'm not sure if this should be reduced to `vfs.exists()`. That would seem to be equivalent code (since the result of the read is ignored, so we can't tell if the file actually has content, which has been the state of things going back to 98b6c3dde237), but this is at least safer file descriptor handling.

File last commit:

r18526:9409aeaa stable
r52791:15985415 default
Show More
filelog.tmpl
8 lines | 265 B | application/x-cheetah | CheetahLexer
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 {header}
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <id>{urlbase}{url|urlescape}atom-log/tip/{file|escape}</id>
<link rel="self" href="{urlbase}{url|urlescape}atom-log/tip/{file|urlescape}"/>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <title>{repo|escape}: {file|escape} history</title>
{latestentry%feedupdated}
{entries%changelogentry}
</feed>