'RemoteRepository' object has no attribute 'get_revision_xml' exception when doing bzr send on light checkout of bzr://...

Bug #347515 reported by Rached B
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned

Bug Description

Doing "bzr send -o /tmp/file SUBMIT_BRANCH" fails with an exception. The working directory is a lightweight checkout of a bzr:// branch and the submit branch is also located on a bzr:// transport.

bzr version is 1.12rc1 and the same error occurs with bzr 1.13. Having the current branch stacked on the submit branch yields the same error.

Running the same command from a heavyweight checkout works fine. Also, doing "bzr diff -r submit:" and "bzr missing" on the same submit branch from the lightweight checkout works fine too.

exception text :

Bundling 10 revision(s).
bzr: ERROR: exceptions.AttributeError: 'RemoteRepository' object has no attribute 'get_revision_xml'

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 4505, in run
    kwargs.get('from', '.'), mail_to, message)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 4579, in _run
    base_revision_id=base_revision_id)
  File "/usr/lib/python2.4/site-packages/bzrlib/merge_directive.py", line 511, in from_objects
    ancestor_id).encode('base-64')
  File "/usr/lib/python2.4/site-packages/bzrlib/merge_directive.py", line 166, in _generate_bundle
    ancestor_id, s)
  File "/usr/lib/python2.4/site-packages/bzrlib/bundle/serializer/__init__.py", line 122, in write_bundle
    base_revision_id, out)
  File "/usr/lib/python2.4/site-packages/bzrlib/bundle/serializer/v4.py", line 243, in write_bundle
    return write_op.do_write()
  File "/usr/lib/python2.4/site-packages/bzrlib/bundle/serializer/v4.py", line 291, in do_write
    self.write_revisions()
  File "/usr/lib/python2.4/site-packages/bzrlib/bundle/serializer/v4.py", line 327, in write_revisions
    revision_text = self.repository.get_revision_xml(revision_id)
AttributeError: 'RemoteRepository' object has no attribute 'get_revision_xml'

bzr 1.12rc1 on python 2.4.4 (linux2)
arguments: ['/usr/bin/bzr', 'send', '-o', '/tmp/meh', 'bzr://host/path/to/submit/branch']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'
plugins:
  bzrtools /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools [1.12]
  launchpad /usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /usr/lib/python2.4/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
  yoo_directory /usr/lib/python2.4/site-packages/bzrlib/plugins/yoo_directory.py [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
Martin Pool (mbp) wrote :
Changed in bzr:
status: New → Fix Released
summary: - exception when doing bzr send on light checkout of bzr://...
+ 'RemoteRepository' object has no attribute 'get_revision_xml' exception
+ when doing bzr send on light checkout of bzr://...
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.