crash when converting lightweight to heavy checkout with remote master branch

Bug #562896 reported by Mark Edgington
This bug affects 5 people
Affects Status Importance Assigned to Milestone

Bug Description

I encountered a traceback when trying to perform a 'bzr reconfigure --checkout' command on a lightweight checkout of a remote master branch.

crash file is attached

PythonVersion: 2.6.4
 Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 853, in exception_to_return_code
     return the_callable(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 1055, in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 661, in run_argv_aliases
     return self.run_direct(**all_cmd_args)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 665, in run_direct
     return self._operation.run_simple(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 122, in run_simple
     self.cleanups, self.func, *args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 156, in _do_with_cleanups
     result = func(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 5445, in run
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 330, in apply
     repo = repository_format.initialize(self.bzrdir)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 555, in initialize
     return self._vfs_initialize(a_bzrdir, shared)
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 548, in _vfs_initialize
   File "/usr/lib/python2.6/dist-packages/bzrlib/", line 594, in open
     raise AssertionError('%r is not a RemoteBzrDir' % (a_bzrdir,))
 AssertionError: <bzrlib.bzrdir.BzrDirMeta1 object at 0x24acad0> is not a RemoteBzrDir

Revision history for this message
Mark Edgington (edgimar) wrote :
Revision history for this message
Alexander Belchenko (bialix) wrote :

As a workaround you need to create heavyweight checkout with regular `bzr checkout URL` command.

Changed in bzr:
status: New → Confirmed
importance: Undecided → High
description: updated
Jelmer Vernooij (jelmer)
tags: added: reconfigure
tags: added: hpss
Revision history for this message
Gordon Tyler (doxxx) wrote :

This was encountered by another user on Stackoverflow, see the comment by SabreWolfy to my answer here:

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers