Mercurial > hg
annotate mercurial/templates/atom/filelog.tmpl @ 39583:ee1e74ee037c
formatter: fill missing resources by formatter, not by resource mapper
While working on demand loading of ctx/fctx objects, I found it's weird
to support lookup in both directions. For instance, fctx can be loaded
from (ctx, path) pair, but ctx may also be derived from fctx.changectx()
in the original mapping. If the original mapping has had fctx but no ctx,
and if the new mapping provides {path}, we can't be sure if fctx should be
updated by fctx'.changectx()[path] or not.
This patch simply drops the support for the resolution in fctx -> ctx -> repo
direction.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 01 Sep 2018 13:21:45 +0900 |
parents | 9409aeaafdc1 |
children |
rev | line source |
---|---|
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
1 {header} |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
2 <id>{urlbase}{url|urlescape}atom-log/tip/{file|escape}</id> |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
3 <link rel="self" href="{urlbase}{url|urlescape}atom-log/tip/{file|urlescape}"/> |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
4 <title>{repo|escape}: {file|escape} history</title> |
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
5 {latestentry%feedupdated} |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
6 |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
7 {entries%changelogentry} |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
8 </feed> |