annotate templates/changelog.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 148f642d1f8e
children bdd7c53fca00 5197fb9d65d5 4f81068ed8cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
1 #header#
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents: 173
diff changeset
2 <title>#repo|escape#: changelog</title>
661
148f642d1f8e Add rss tag in the changelog/filelog html template.
kreijack@inwind.REMOVEME.it
parents: 599
diff changeset
3 <link rel="alternate" type="application/rss+xml"
148f642d1f8e Add rss tag in the changelog/filelog html template.
kreijack@inwind.REMOVEME.it
parents: 599
diff changeset
4 href="?cmd=changelog;style=rss" title="RSS feed for #repo|escape#">
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
5 </head>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
6 <body>
168
65cf1b0cfe86 hgweb: add tags links and manifest links
mpm@selenic.com
parents: 165
diff changeset
7
65cf1b0cfe86 hgweb: add tags links and manifest links
mpm@selenic.com
parents: 165
diff changeset
8 <div class="buttons">
65cf1b0cfe86 hgweb: add tags links and manifest links
mpm@selenic.com
parents: 165
diff changeset
9 <a href="?cmd=tags">tags</a>
65cf1b0cfe86 hgweb: add tags links and manifest links
mpm@selenic.com
parents: 165
diff changeset
10 <a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a>
661
148f642d1f8e Add rss tag in the changelog/filelog html template.
kreijack@inwind.REMOVEME.it
parents: 599
diff changeset
11 <a type="application/rss+xml" href="?cmd=changelog;style=rss">rss</a>
168
65cf1b0cfe86 hgweb: add tags links and manifest links
mpm@selenic.com
parents: 165
diff changeset
12 </div>
65cf1b0cfe86 hgweb: add tags links and manifest links
mpm@selenic.com
parents: 165
diff changeset
13
201
f918a6fa2572 hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents: 173
diff changeset
14 <h2>changelog for #repo|escape#</h2>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
15
584
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
16 <form action="#">
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
17 <p>
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
18 <label for="search1">search:</label>
165
7fc8385df514 Add tag/rev/node search to hgweb
mpm@selenic.com
parents: 142
diff changeset
19 <input type="hidden" name="cmd" value="changelog">
584
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
20 <input name="rev" id="search1" type="text" size="30">
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
21 navigate: <small>#changenav#</small>
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
22 </p>
165
7fc8385df514 Add tag/rev/node search to hgweb
mpm@selenic.com
parents: 142
diff changeset
23 </form>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
24
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
25 #entries#
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
26
584
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
27 <form action="#">
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
28 <p>
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
29 <label for="search2">search:</label>
165
7fc8385df514 Add tag/rev/node search to hgweb
mpm@selenic.com
parents: 142
diff changeset
30 <input type="hidden" name="cmd" value="changelog">
584
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
31 <input name="rev" id="search2" type="text" size="30">
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
32 navigate: <small>#changenav#</small>
9bdf5ae63d1f [PATCH 2] ChangeLog template conformance fixes.
mpm@selenic.com
parents: 201
diff changeset
33 </p>
165
7fc8385df514 Add tag/rev/node search to hgweb
mpm@selenic.com
parents: 142
diff changeset
34 </form>
138
c77a679e9cfa Revamped templated hgweb
mpm@selenic.com
parents:
diff changeset
35
142
529bf610092e Prettify the web interface
mpm@selenic.com
parents: 138
diff changeset
36 #footer#