Mercurial > hg > mercurial-crew-with-dirclash
view templates/gitweb/manifest.tmpl @ 4540:133a52d70958
Respect locale environment variables on darwin.
In python 2.4+ on darwin, locale.getpreferredencoding() returns
mac-roman regardless of what LC_CTYPE, LANG etc are set to. This can
produce hard-to-notice conversion errors if input text is not in
mac-roman. So this patch overrides it with setlocale/getlocale if the
environment has been customized, on the assumption that the user has
done so deliberately.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 11 Jun 2007 12:14:31 -0700 |
parents | 4272ae760bb1 |
children | 46c5e1ee8aaa |
line wrap: on
line source
#header# <title>#repo|escape#: Manifest</title> <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for #repo|escape#"> </head> <body> <div class="page_header"> <a href="http://www.selenic.com/mercurial/" title="Mercurial"><div style="float:right;">Mercurial</div></a><a href="{url}summary{sessionvars%urlparameter}">#repo|escape#</a> / manifest </div> <div class="page_nav"> <a href="{url}summary{sessionvars%urlparameter}">summary</a> | <a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a> | <a href="{url}log{sessionvars%urlparameter}">changelog</a> | <a href="{url}tags{sessionvars%urlparameter}">tags</a> | manifest | <a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> #archives%archiveentry#<br/> </div> <div class="title">#path|escape# <span class="logtags">{branches%branchtag}{tags%tagtag}</span></div> <table cellspacing="0"> <tr class="parity#upparity#"> <td style="font-family:monospace">drwxr-xr-x</td> <td style="font-family:monospace"></td> <td><a href="{url}file/#node|short##up|urlescape#{sessionvars%urlparameter}">[up]</a></td> <td class="link"> </td> </tr> #dentries%manifestdirentry# #fentries%manifestfileentry# </table> #footer#