crash when converting lightweight to heavy checkout with remote master branch

Bug #562896 reported by Mark Edgington
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned
Breezy
Triaged
Medium
Unassigned

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:
 Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
     return the_callable(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
     ret = run(*run_argv)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
     return self.run_direct(**all_cmd_args)
   File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
     return self._operation.run_simple(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
     self.cleanups, self.func, *args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
     result = func(*args, **kwargs)
   File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 5445, in run
     reconfiguration.apply(force)
   File "/usr/lib/python2.6/dist-packages/bzrlib/reconfigure.py", line 330, in apply
     repo = repository_format.initialize(self.bzrdir)
   File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", line 555, in initialize
     return self._vfs_initialize(a_bzrdir, shared)
   File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", line 548, in _vfs_initialize
     return self.open(a_bzrdir)
   File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", 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: http://stackoverflow.com/a/9501341/345722

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

Remote bug watches

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