Comment 0 for bug 147836

Revision history for this message
Daniel Bültmann (daniel.bueltmann) wrote : bzr 0.90.0 bundle command fails with bzr remote repositories

The bzr bundle command fails with a traceback when the remote repository is contacted using the bzr protocol.

I have published a branch to a location served by bzr serve (e.g. bzr://localhost/main/someproject--main--3.0).

Then I branched from that location : bzr branch bzr://localhost/main/someproject--main--3.0

After changing to the someproject--main--3.0 directory I changed some files. I did not commit but wanted bzr
to bundle these changes. I issued "bzr bundle" and got the following Python backtrace:

dbn@beast:/net/beast1/DBN/dbn/src//someproject--main--3.0> bzr bundle
bzr: ERROR: exceptions.AttributeError: 'RemoteRepository' object has no attribute '_make_parents_provider'

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line 817, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line 779, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/commands.py", line 477, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/builtins.py", line 3978, in run
    kwargs.get('from', '.'))
  File "/usr/local/lib/python2.4/site-packages/bzrlib/builtins.py", line 3906, in _run
    base_revision_id=base_revision_id)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/merge_directive.py", line 451, in from_objects
    graph = repository.get_graph(submit_branch.repository)
  File "/usr/local/lib/python2.4/site-packages/bzrlib/repository.py", line 1032, in get_graph
    parents_provider = graph._StackedParentsProvider(
AttributeError: 'RemoteRepository' object has no attribute '_make_parents_provider'

bzr 0.90.0 on python 2.4.2.final.0 (linux2)
arguments: ['/usr/local/bin/bzr', 'bundle']

** please send this report to <email address hidden>