view templates/shortlog.tmpl @ 5331:8ee5b8129e7b

hgweb: don't raise an exception when displying empty repos The nullid node claims it's in the default branch, but the branch dict is empty. This fixes the main symptom from issue696, but we may want to set branchtags()['default'] = nullid somewhere for empty repos.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 24 Sep 2007 19:00:11 -0300
parents ce8f31e0b3b8
children 46c5e1ee8aaa
line wrap: on
line source

#header#
<title>#repo|escape#: shortlog</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#log/#rev#{sessionvars%urlparameter}">changelog</a>
<a href="#url#tags{sessionvars%urlparameter}">tags</a>
<a href="#url#file/#node|short#/{sessionvars%urlparameter}">manifest</a>
#archives%archiveentry#
<a type="application/rss+xml" href="#url#rss-log">rss</a>
</div>

<h2>shortlog for #repo|escape#</h2>

<form action="#url#log">
{sessionvars%hiddenformentry}
<p>
<label for="search1">search:</label>
<input name="rev" id="search1" type="text" size="30">
navigate: <small class="navigate">#changenav%navshortentry#</small>
</p>
</form>

#entries%shortlogentry#

<form action="#url#log">
{sessionvars%hiddenformentry}
<p>
<label for="search2">search:</label>
<input name="rev" id="search2" type="text" size="30">
navigate: <small class="navigate">#changenav%navshortentry#</small>
</p>
</form>

#footer#