Bazaar Version Control System

crash when converting lightweight to heavy checkout with remote master branch

Reported by Mark Edgington on 2010-04-14
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Bazaar
High
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

Mark Edgington (edgimar) wrote :
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) on 2011-02-01
tags: added: reconfigure
tags: added: hpss
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

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

Duplicates of this bug

Other bug subscribers