[patchbomb] prepend leading zeros in the "[PATCH N of M]" string
Without this patch, if one tries to send a patch bomb with more than 9
patches, the resulting subjects are not easily alphabetically sortable.
For example:
...
[PATCH 9 of 10]
[PATCH 10 of 10]
This patch prepends as many leading zeros as necessary. E.g.,
[PATCH 09 of 10]
or
[PATCH 009 of 100]
#header#
<title>#repo|escape#: changelog</title>
<link rel="alternate" type="application/rss+xml"
href="#url#rss-log" title="RSS feed for #repo|escape#">
</head>
<body>
<div class="buttons">
<a href="#url#shortlog/#rev#{getentries}">shortlog</a>
<a href="#url#tags{getentries}">tags</a>
<a href="#url#file/#node|short#{getentries}">manifest</a>
#archives%archiveentry#
<a type="application/rss+xml" href="#url#rss-log">rss</a>
</div>
<h2>changelog for #repo|escape#</h2>
<form action="#url#log">
<p>
<label for="search1">search:</label>
<input name="rev" id="search1" type="text" size="30">
navigate: <small class="navigate">#changenav%naventry#</small>
</p>
</form>
#entries%changelogentry#
<form action="#url#log">
<p>
<label for="search2">search:</label>
<input name="rev" id="search2" type="text" size="30">
navigate: <small class="navigate">#changenav%naventry#</small>
</p>
</form>
#footer#