add localrepo.wlock for protecting the dirstate
- add localrepo.wlock
- nest it in localrepo.lock
- protect the code that change the dirstate
<table class="parity#parity#" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="right" width="15%"><b>#date|age# ago: </b></td>
<td><b><a href="?cs=#node|short#">#desc|strip|firstline|escape#</a></b></td></tr>
<tr>
<td align="right">revision #filerev#: </td>
<td><a href="?f=#filenode|short#;file=#file#">#filenode|short#</a>
<a href="?fd=#node|short#;file=#file#">(diff)</a>
<a href="?fa=#filenode|short#;file=#file#">(annotate)</a>
</td></tr>
<tr>
<td align="right">author: </td>
<td>#author|obfuscate#</td></tr>
<tr>
<td align="right">date: </td>
<td>#date|date# (#date|age# ago)</td></tr>
</table>