annotate templates/tags.tmpl @ 4095:6fa7a2d0fc2e

hgweb: catch util.Abort raised by addchangegroup Right now, if a pretxnchangegroup hook fails, we send some HTML error message to the client and the transaction is not rolled back (issue499). Catching util.Abort allows us to send a decent message to the client and for some reason makes the rollback complete. This patch is not perfect since it doesn't fix the reason why the transaction wasn't rolled back (maybe some circular references?). Also, the transaction is aborted only after we've sent the response back to the client and the "transaction aborted" message ends up in the logs of the web server.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Feb 2007 05:10:43 -0200
parents ce8f31e0b3b8
children 46c5e1ee8aaa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
1 #header#
1549
fbe4bbd847e5 Always escape repository name in hgweb, very important in notfound.tmpl.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1419
diff changeset
2 <title>#repo|escape#: tags</title>
1768
f79afc26ae3b add rss link to tags page
Peter van Dijk <peter@dataloss.nl>
parents: 1549
diff changeset
3 <link rel="alternate" type="application/rss+xml"
3264
d1aa83f199ef Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents: 3205
diff changeset
4 href="#url#rss-tags" title="RSS feed for #repo|escape#: tags">
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
5 </head>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
6 <body>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
7
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
8 <div class="buttons">
3363
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3272
diff changeset
9 <a href="#url#log{sessionvars%urlparameter}">changelog</a>
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3272
diff changeset
10 <a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
ce8f31e0b3b8 hgweb: Apply the new method of passing session variables to links.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3272
diff changeset
11 <a href="#url#file/#node|short#/{sessionvars%urlparameter}">manifest</a>
3264
d1aa83f199ef Update templates to use NewWebInterface
Brendan Cully <brendan@kublai.com>
parents: 3205
diff changeset
12 <a type="application/rss+xml" href="#url#rss-tags">rss</a>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
13 </div>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
14
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
15 <h2>tags:</h2>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
16
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
17 <ul id="tagEntries">
974
aedb47764f29 Added support for #foo%bar# syntax
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents: 586
diff changeset
18 #entries%tagentry#
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
19 </ul>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
20
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
21 #footer#