annotate templates/notfound.tmpl @ 2328:f789602ba840

hgweb.manifest: revno of manifest and changelog aren't always the same In the v4l-dvb repo, the manifest revno and the changelog revno are not in sync. This happened because the same patch was applied to the same revision in two different branches, resulting in the same manifest text, with the same parents and so the first revision was reused. Since hgweb.manifest was assuming the revnos of the manifest and of the changelog were always the same, clicking on manifest -> bz2 in the v4l-dvb site would download the wrong revision. Use the linkrev to go from manifest revision to changelog revision. This still won't be perfect since the page will still talk about "manifest for changeset XYZ", where XYZ was the first changeset to have this manifest, which is not necessarily the same changeset that the user clicked to get to this page - but at least the contents will be the same.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 20 May 2006 15:34:19 -0300
parents fbe4bbd847e5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1124
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
1 #header#
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
2 <title>Mercurial repositories index</title>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
3 </head>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
4 <body>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
5
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
6 <h2>Mercurial Repositories</h2>
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
7
1549
fbe4bbd847e5 Always escape repository name in hgweb, very important in notfound.tmpl.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1137
diff changeset
8 The specified repository "#repo|escape#" is unknown, sorry.
1124
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
9
1137
c54d03bdf2dc Remove the link from the template as there no real way to have it always be correct.
Ollivier Robert <roberto@keltia.freenix.fr>
parents: 1124
diff changeset
10 Please go back to the main repository list page.
1124
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
11
725204f67d92 Add the template.
Ollivier Robert <roberto@keltia.freenix.fr>
parents:
diff changeset
12 #footer#