Mercurial > hg > mercurial-crew-with-dirclash
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 |
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# |