At http://bzr.arbash-meinel.com/branches/bzr/1.9-dev/remote_readv_sections

------------------------------------------------------------
revno: 3813
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: John Arbash Meinel <[EMAIL PROTECTED]>
branch nick: remote_readv_sections
timestamp: Wed 2008-10-29 14:35:44 -0500
message:
  When starting a new list, we need to start it with the current entry
=== modified file 'bzrlib/transport/remote.py'
--- a/bzrlib/transport/remote.py        2008-10-29 19:27:53 +0000
+++ b/bzrlib/transport/remote.py        2008-10-29 19:35:44 +0000
@@ -326,8 +326,8 @@
         for c in coalesced:
             if c.length + cur_len > self._max_readv_bytes:
                 requests.append(cur_request)
-                cur_request = []
-                cur_len = 0
+                cur_request = [c]
+                cur_len = c.length
                 continue
             cur_request.append(c)
             cur_len += c.length

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to