Rev 4609: Merge in remote streaming fix for bzr-v2 with 2a. in http://bazaar.launchpad.net/~lifeless/bzr/bug-398668
Robert Collins
robertc at robertcollins.net
Thu Aug 13 01:43:13 BST 2009
At http://bazaar.launchpad.net/~lifeless/bzr/bug-398668
------------------------------------------------------------
revno: 4609 [merge]
revision-id: robertc at robertcollins.net-20090813004310-uuurt6yiz0f28p51
parent: robertc at robertcollins.net-20090813000208-436r0w9dctbqabcx
parent: robertc at robertcollins.net-20090813004009-937jfqk33k7uow9v
committer: Robert Collins <robertc at robertcollins.net>
branch nick: bug-398668
timestamp: Thu 2009-08-13 10:43:10 +1000
message:
Merge in remote streaming fix for bzr-v2 with 2a.
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/remote.py remote.py-20060720103555-yeeg2x51vn0rbtdp-1
=== modified file 'NEWS'
--- a/NEWS 2009-08-12 22:28:28 +0000
+++ b/NEWS 2009-08-13 00:40:09 +0000
@@ -32,6 +32,12 @@
parent inventories incorrectly, and also not handling when one of the
parents was a ghost. (John Arbash Meinel, #402778, #412198)
+* Fetching from 2a branches from a version-2 bzr protocol would fail to
+ copy the internal inventory pages from the CHK store. This cannot happen
+ in normal use as all 2a compatible clients and servers support the
+ version-3 protocol, but it does cause test suite failures when testing
+ downlevel protocol behaviour. (Robert Collins)
+
Improvements
************
=== modified file 'bzrlib/remote.py'
--- a/bzrlib/remote.py 2009-08-05 02:30:59 +0000
+++ b/bzrlib/remote.py 2009-08-13 00:40:09 +0000
@@ -1758,7 +1758,8 @@
"""
source = repo._get_source(self.to_format)
if isinstance(source, RemoteStreamSource):
- return repository.StreamSource.get_stream(source, search)
+ repo._ensure_real()
+ source = repo._real_repository._get_source(self.to_format)
return source.get_stream(search)
def _get_stream(self, repo, search):
More information about the bazaar-commits
mailing list