changeset 6291:c92cf92c55a6

Backed out changeset 91ac1726730a
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 17 Mar 2008 07:59:23 -0700
parents 91ac1726730a
children dc2f360444a0
files mercurial/httprepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/httprepo.py	Sun Mar 16 22:59:04 2008 -0700
+++ b/mercurial/httprepo.py	Mon Mar 17 07:59:23 2008 -0700
@@ -94,9 +94,9 @@
             # if auth required, some data sent twice, so rewind here
             data.seek(0)
             for chunk in util.filechunkiter(data):
-                connection.sendall(self, chunk)
+                connection.send(self, chunk)
         else:
-            connection.sendall(self, data)
+            connection.send(self, data)
     return _sendfile
 
 class httpconnection(keepalive.HTTPConnection):