##// END OF EJS Templates
curses: do not setlocale() at import time (issue5261)...
curses: do not setlocale() at import time (issue5261) setlocale() can break date formatting/parsing functions because they are locale dependent. We should avoid doing setlocale() as possible. This patch moves setlocale() just before curses.wrapper(), which function is documented to "initialize curses." I don't know the details about the curses initialization, but I *think* this would work as well. Maybe we can extract a curses setup function later. https://www.mercurial-scm.org/pipermail/mercurial-devel/2019-February/128788.html

File last commit:

r18526:9409aeaa stable
r42883:701341f5 stable
Show More
tagentry.tmpl
6 lines | 218 B | application/x-cheetah | CheetahLexer
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <item>
<title>{tag|escape}</title>
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <link>{urlbase}{url|urlescape}rev/{node|short}</link>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <description><![CDATA[{tag|strip|escape|addbreaks}]]></description>
<pubDate>{date|rfc822date}</pubDate>
</item>