##// END OF EJS Templates
ui: fix crash by non-interactive prompt echo for user name...
ui: fix crash by non-interactive prompt echo for user name Since we've dropped a str cast at write() by f04bd381e8c0, ui.prompt() should convert default to '' if it is None. Otherwise, write() would fail with "TypeError: object of type 'NoneType' has no len()". This patch includes the tests for both interactive and non-interactive cases because "ui.askusername" was never tested.

File last commit:

r26021:b57d05ca default
r28039:89003c49 stable
Show More
footer.tmpl
18 lines | 546 B | application/x-cheetah | CheetahLexer
Benoit Allard
web: Made elapsed time calculation dynamic (javascript)....
r14046 <script type="text/javascript">process_dates()</script>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 <div class="page-footer">
<p>Mercurial Repository: {repo|escape}</p>
<ul class="rss-logo">
Thomas Arendsen Hein
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names...
r18526 <li><a href="{url|urlescape}rss-log">RSS</a></li>
<li><a href="{url|urlescape}atom-log">Atom</a></li>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 </ul>
{motd}
</div>
<div id="powered-by">
Anton Shestakov
hgweb: close <img> elements...
r23830 <p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial" /></a></p>
Dan Villiom Podlaski Christiansen
setup: install translation files as package data...
r9999 </div>
</div>
</body>
</html>