annotate templates/tags.tmpl @ 870:a82eae840447

Teach walk code about absolute paths. The first consequence of this is that absolute and relative paths now all work in the same way. The second is that paths that lie outside the repository now cause an error to be reported, instead of something arbitrary and expensive being done. Internally, all of the serious work is in the util package. The new canonpath function takes an arbitrary path and either returns a canonical path or raises an error. Because it needs to know where the repository root is, it must be fed a repository or dirstate object, which has given commands.matchpats and friends a new parameter to pass along. The util.matcher function uses this to canonicalise globs and relative path names. Meanwhile, I've moved the Abort exception from commands to util, and killed off the redundant util.CommandError exception.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 07 Aug 2005 12:43:11 -0800
parents 11578820b5d7
children aedb47764f29 5197fb9d65d5 4f81068ed8cd
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#
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
2 <title>#repo#: tags</title>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
3 </head>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
4 <body>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
5
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
6 <div class="buttons">
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
7 <a href="?cmd=changelog;rev=#rev#">changelog</a>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
8 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
9 </div>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
10
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
11 <h2>tags:</h2>
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
12
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
13 <ul id="tagEntries">
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
14 #entries#
586
11578820b5d7 [PATCH] Tags template cleanup
mpm@selenic.com
parents: 169
diff changeset
15 </ul>
169
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
16
e93a16de0c66 hgweb: actually commit the tags template
mpm@selenic.com
parents:
diff changeset
17 #footer#