Mercurial > public > mercurial-scm > hg
annotate mercurial/templates/atom/map @ 15152:94b200a11cf7 stable
http: handle push of bundles > 2 GB again (issue3017)
It was very elegant that httpsendfile implemented __len__ like a string. It was
however also dangerous because that protocol can't handle sizes bigger than 2 GB.
Mercurial tried to work around that, but it turned out to be too easy to
introduce new errors in this area.
With this change __len__ is no longer implemented at all and the code will work
the same way for short and long posts.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 21 Sep 2011 22:52:00 +0200 |
parents | 1046cb663776 |
children | add2f9ddcfb5 |
rev | line source |
---|---|
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
1 default = 'changelog' |
8428
5ccca71775e1
atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
7749
diff
changeset
|
2 feedupdated = '<updated>{date|rfc3339date}</updated>' |
5928
3340aa5a64f7
hgweb: move HTTP content types out of header templates
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
5269
diff
changeset
|
3 mimetype = 'application/atom+xml; charset={encoding}' |
5269
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
4 header = header.tmpl |
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
5 changelog = changelog.tmpl |
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
6 changelogentry = changelogentry.tmpl |
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
7 filelog = filelog.tmpl |
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
8 filelogentry = filelogentry.tmpl |
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
9 tags = tags.tmpl |
46c5e1ee8aaa
Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff
changeset
|
10 tagentry = tagentry.tmpl |
13858
1046cb663776
hgweb: add missing bookmarks templates to atom/rss styles
Yuya Nishihara <yuya@tcha.org>
parents:
9999
diff
changeset
|
11 bookmarks = bookmarks.tmpl |
1046cb663776
hgweb: add missing bookmarks templates to atom/rss styles
Yuya Nishihara <yuya@tcha.org>
parents:
9999
diff
changeset
|
12 bookmarkentry = bookmarkentry.tmpl |
7749
f32af51aaee5
hgweb: add atom error template
Sune Foldager <cryo@cyanite.org>
parents:
5928
diff
changeset
|
13 error = error.tmpl |