##// END OF EJS Templates
hgweb: sort bookmarks early...
hgweb: sort bookmarks early Let's do the same thing that /tags page does. It gets sorted tags and then if it needs the latest only, it just slices the first item from the list. Since it's a slice and not a min(), it doesn't throw an exception if the list is empty. This fixes HTTP 500 error from issue5022.

File last commit:

r18526:9409aeaa stable
r28710:ca0c0ca3 default
Show More
tags.tmpl
11 lines | 353 B | application/x-cheetah | CheetahLexer
{header}
<id>{urlbase}{url|urlescape}</id>
<link rel="self" href="{urlbase}{url|urlescape}atom-tags"/>
<link rel="alternate" href="{urlbase}{url|urlescape}tags"/>
<title>{repo|escape}: tags</title>
<summary>{repo|escape} tag history</summary>
<author><name>Mercurial SCM</name></author>
{latestentry%feedupdated}
{entriesnotip%tagentry}
</feed>