annotate templates/changelogentry.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 51626d888526
children 0843e1bf2b97
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
585
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
1 <table class="changelogEntry parity#parity#">
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
2 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
3 <th class="age">#date|age# ago:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
4 <th class="firstline">#desc|firstline|escape#</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
5 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
6 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
7 <th class="changesetRev">changeset #rev#:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
8 <td class="changesetNode"><a href="?cmd=changeset;node=#node#">#node|short#</a></td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
9 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
10 #parent#
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
11 #changelogtag#
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
12 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
13 <th class="author">author:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
14 <td class="author">#author|obfuscate#</td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
15 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
16 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
17 <th class="date">date:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
18 <td class="date">#date|date#</td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
19 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
20 <tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
21 <th class="files"><a href="?cmd=manifest;manifest=#manifest#;path=/">files</a>:</th>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
22 <td class="files">#files#</td>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
23 </tr>
51626d888526 [PATCH] Changelogentry template cleanup
mpm@selenic.com
parents: 570
diff changeset
24 </table>