localrepo: factor commit and rawcommit
note: rawcommit with an empty text will now launch the editor
#header#
<title>#repo|escape#: #file|escape# annotate</title>
</head>
<body>
<div class="buttons">
<a href="?cl=#rev#">changelog</a>
<a href="?sl=#rev#">shortlog</a>
<a href="?tags=">tags</a>
<a href="?cs=#node|short#">changeset</a>
<a href="?mf=#node|short#;path=#path|urlescape#">manifest</a>
<a href="?f=#node|short#;file=#file|urlescape#">file</a>
<a href="?fl=#node|short#;file=#file|urlescape#">revisions</a>
<a href="?fa=#node|short#;file=#file|urlescape#;style=raw">raw</a>
</div>
<h2>Annotate #file|escape#</h2>
<table>
<tr>
<td class="metatag">changeset #rev#:</td>
<td><a href="?cs=#node|short#">#node|short#</a></td></tr>
#rename%filerename#
#parent%fileannotateparent#
#child%fileannotatechild#
<tr>
<td class="metatag">author:</td>
<td>#author|obfuscate#</td></tr>
<tr>
<td class="metatag">date:</td>
<td>#date|date# (#date|age# ago)</td></tr>
<tr>
<td class="metatag">permissions:</td>
<td>#permissions|permissions#</td></tr>
</table>
<br/>
<table cellspacing="0" cellpadding="0">
#annotate%annotateline#
</table>
#footer#