streaming fetch claims upstart repository missing texts, but it isn't

Bug #439645 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

 affects bzr
 importance high
 status confirmed
 done

bzr 2.0.0 found this:
 06:31 < Keybuk> bzr: ERROR: exceptions.AssertionError: second push
failed to complete a fetch set([('texts',
'process.c-20060804042848-002ec799c7183356',
                '<email address hidden>'),
('texts', 'process.c-20060804042848-002ec799c7183356',
                '<email address hidden>'),
('texts', 'main.c-20060516195723-2691e3b471617c66',
                '<email address hidden>')]).

when branching from lp:~ubuntu-core-dev/upstart/ubuntu
branch from http works
getting a record stream of those texts (with the texts key stripped)
from the http side and pushing that into the writable mirror did not
error.
----
import bzrlib.repository
source = bzrlib.repository.Repository.open('.')
target = bzrlib.repository.Repository.open('bzr
+ssh://bazaar.launchpad.net/~ubuntu-core-dev/upstart/ubuntu/')
source.lock_read()
target.lock_write()
target.start_write_group()
stream =
source.texts.get_record_stream([('process.c-20060804042848-002ec799c7183356', '<email address hidden>'),
    ('process.c-20060804042848-002ec799c7183356',
'<email address hidden>'),
('main.c-20060516195723-2691e3b471617c66',
'<email address hidden>')], 'unordered',
True)
target.texts.insert_record_stream(stream)
target.commit_write_group()
target.unlock()
source.unlock()
----

The problem persisted however, and branching with nosmart+ worked around
it.

-Rob

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.