Mercurial > hg
annotate mercurial/templates/gitweb/notfound.tmpl @ 26482:d2e69584e330
templatekw: allow getlatesttags() to match a specific tag pattern
This will allow the latest class of tag to be found, such as a release candidate
or final build, instead of just the absolute latest. It will be exposed in a
future patch.
It's unfortunate that the original 'latesttags' cache can't be used to determine
the proper values, but it isn't fully populated for the entire repo. For
example, the {latesttagdistance} keyword on the Mecurial repo builds the cache
up back to the revision for 1.4. If the pattern was 're:^0\.\d$', that wouldn't
be in the cache. Maybe this can be optimized some other way, but for now, this
is the simpliest implementation.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 23 Aug 2015 23:22:55 -0400 |
parents | 9409aeaafdc1 |
children |
rev | line source |
---|---|
4842
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
1 {header} |
5560
e78c24011001
hgweb: make notfound templates more informative
Bryan O'Sullivan <bos@serpentine.com>
parents:
4842
diff
changeset
|
2 <title>Mercurial repository not found</title> |
4842
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
3 </head> |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
4 |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
5 <body> |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
6 |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
7 <div class="page_header"> |
13964
616ad3f6fd33
hgweb: support alternate logo url
Steven Stallion <sstallion@gmail.com>
parents:
9999
diff
changeset
|
8 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> Not found: {repo|escape} |
4842
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
9 </div> |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
10 |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
11 <div class="page_body"> |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
12 The specified repository "{repo|escape}" is unknown, sorry. |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
13 <br/> |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
14 <br/> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
13964
diff
changeset
|
15 Please go back to the <a href="{url|urlescape}">main repository list page</a>. |
4842
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
16 </div> |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
17 |
d39776752a1f
gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents:
diff
changeset
|
18 {footer} |