Automated merge with http://hg.intevation.org/mercurial/crew
authorBryan O'Sullivan <bos@serpentine.com>
Sun, 16 Mar 2008 22:59:31 -0700
changeset 6290 509bb4af1502
parent 6288 d6e5e6f7b2d8 (current diff)
parent 6289 91ac1726730a (diff)
child 6292 dc2f360444a0
Automated merge with http://hg.intevation.org/mercurial/crew
--- a/mercurial/httprepo.py	Sun Mar 16 23:30:47 2008 +0100
+++ b/mercurial/httprepo.py	Sun Mar 16 22:59:31 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.send(self, chunk)
+                connection.sendall(self, chunk)
         else:
-            connection.send(self, data)
+            connection.sendall(self, data)
     return _sendfile
 
 class httpconnection(keepalive.HTTPConnection):