Mercurial > hg > mercurial-crew-with-dirclash
annotate templates/filelog.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 | ea67e5b37043 5197fb9d65d5 4f81068ed8cd |
rev | line source |
---|---|
142 | 1 #header# |
201
f918a6fa2572
hgweb: add template filters, template style maps, and raw pages
mpm@selenic.com
parents:
168
diff
changeset
|
2 <title>#repo|escape#: #file# history</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=filelog;file=#file#;filenode=0;style=rss" title="RSS feed for #repo|escape#:#file#"> |
148f642d1f8e
Add rss tag in the changelog/filelog html template.
kreijack@inwind.REMOVEME.it
parents:
599
diff
changeset
|
5 </head> |
142 | 6 </head> |
138 | 7 <body> |
8 | |
154
1d5f799ebe1e
fixed problem with head/body tags, added dtd, fixed table attributes
jake@edge2.net
parents:
153
diff
changeset
|
9 <div class="buttons"> |
138 | 10 <a href="?cmd=changelog">changelog</a> |
168 | 11 <a href="?cmd=tags">tags</a> |
153
e8a360cd5a9f
changed pos to rev for changelog cmd, changed & to ;
jake@edge2.net
parents:
142
diff
changeset
|
12 <a href="?cmd=file;file=#file#;filenode=#filenode#">file</a> |
e8a360cd5a9f
changed pos to rev for changelog cmd, changed & to ;
jake@edge2.net
parents:
142
diff
changeset
|
13 <a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a> |
661
148f642d1f8e
Add rss tag in the changelog/filelog html template.
kreijack@inwind.REMOVEME.it
parents:
599
diff
changeset
|
14 <a type="application/rss+xml" href="?cmd=filelog;file=#file#;filenode=0;style=rss">rss</a> |
142 | 15 </div> |
138 | 16 |
17 <h2>#file# revision history</h2> | |
18 | |
19 #entries# | |
20 | |
142 | 21 #footer# |