Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/changelog.tmpl @ 884:087771ebe2e6
Fix walk code for files that do not exist anywhere, and unhandled types.
Prior to this, a file that did not exist was reported as showing up in
the filesystem, as were files of unsupported types (such as fifos).
Now, an error message is printed and nothing is returned in such cases.
This change also moves the commands.pathto function to the util module,
as the walk code needs it to print non-confusing error messages.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 12 Aug 2005 11:16:58 -0800 |
parents | 148f642d1f8e |
children | bdd7c53fca00 5197fb9d65d5 4f81068ed8cd |
rev | line source |
---|---|
142 | 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 | 5 </head> |
138 | 6 <body> |
168 | 7 |
8 <div class="buttons"> | |
9 <a href="?cmd=tags">tags</a> | |
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 | 12 </div> |
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 | 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 | 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 | 23 </form> |
138 | 24 |
142 | 25 #entries# |
138 | 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 | 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 | 34 </form> |
138 | 35 |
142 | 36 #footer# |