Mercurial > hg
view tests/test-check-pyflakes.t @ 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 | bdf44e63a94c |
children | 4e7e63fc685a |
line wrap: on
line source
$ "$TESTDIR/hghave" pyflakes || exit 80 $ cd $(dirname $TESTDIR) $ pyflakes mercurial hgext 2>&1 | $TESTDIR/filterpyflakes.py mercurial/hgweb/server.py:*: 'activeCount' imported but unused (glob) mercurial/commands.py:*: 'base85' imported but unused (glob) mercurial/commands.py:*: 'bdiff' imported but unused (glob) mercurial/commands.py:*: 'mpatch' imported but unused (glob) mercurial/commands.py:*: 'osutil' imported but unused (glob) hgext/inotify/linux/__init__.py:*: 'from _inotify import *' used; unable to detect undefined names (glob) mercurial/util.py:*: 'from posix import *' used; unable to detect undefined names (glob) mercurial/windows.py:*: 'from win32 import *' used; unable to detect undefined names (glob) mercurial/util.py:*: 'from windows import *' used; unable to detect undefined names (glob)