tests/test-filelog.out
author Mads Kiilerich <mads@kiilerich.com>
Wed, 21 Sep 2011 22:52:00 +0200
branchstable
changeset 15152 94b200a11cf7
parent 11540 2370e270a29a
permissions -rw-r--r--
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.

ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\n
OK.