Mercurial > hg
annotate mercurial/templates/atom/tags.tmpl @ 51861:f81e0ce5103a default tip
typing: simplify archive.gz writing and drop a few pytype suppressions
I was waiting until 3.8 to use `Literal` to fix this, but there's also the ":"
and "|" characters that are passed along here, meant only for the non-gz archive
types. But manipulating what the local caller passes is silly- we know we're
writing, so just open it for writing. As an added bonus, PyCharm stops flagging
the call too (since it doesn't know about pytype suppression comments).
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 12 Sep 2024 12:53:00 -0400 |
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}</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-tags"/> |
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
9999
diff
changeset
|
4 <link rel="alternate" href="{urlbase}{url|urlescape}tags"/> |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
5 <title>{repo|escape}: tags</title> |
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
6 <summary>{repo|escape} tag history</summary> |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
7 <author><name>Mercurial SCM</name></author> |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
8 {latestentry%feedupdated} |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
9 |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
10 {entriesnotip%tagentry} |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
11 </feed> |