view templates/old/changeset.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 fc34c031ff54
children
line wrap: on
line source

#header#
<title>#repo|escape#: changeset #node|short#</title>
</head>
<body>

<div class="buttons">
<a href="?cl=#rev#">changelog</a>
<a href="?sl=#rev#">shortlog</a>
<a href="?cmd=tags">tags</a>
<a href="?mf=#node|short#;path=/">manifest</a>
<a href="?cs=#node|short#;style=raw">raw</a>
#archives%archiveentry#
</div>

<h2>changeset: #desc|strip|escape|firstline#</h2>

<table id="changesetEntry">
<tr>
 <th class="changeset">changeset #rev#:</th>
 <td class="changeset"><a href="?cs=#node|short#">#node|short#</a></td>
</tr>
#parent%changesetparent#
#child%changesetchild#
#changesettag#
<tr>
 <th class="author">author:</th>
 <td class="author">#author|obfuscate#</td>
</tr>
<tr>
 <th class="date">date:</th>
 <td class="date">#date|date# (#date|age# ago)</td></tr>
<tr>
 <th class="files">files:</th>
 <td class="files">#files#</td></tr>
<tr>
 <th class="description">description:</th>
 <td class="description">#desc|strip|escape|addbreaks#</td>
</tr>
</table>

<div id="changesetDiff">
#diff#
</div>

#footer#