BzrDir.create always creates the default format, not one of <class 'bzrlib.bzrdir.BzrDirMeta1'>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Plugin to Update Remote Trees |
New
|
Undecided
|
Unassigned |
Bug Description
Attempting to perform a push_and_update on a branch towards a remove server where we keep a copy of the development, we did hit this error message.
Note: we hadn't used push_and_update since mid 2013, but it used to work nicely until then, at least.
Using Ubuntu 14.04 in the desktop computer where the command was launched.
Push command works as expected.
=======
Run command: bzr push-and-update bzr+ssh://<email address hidden>
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return run_subprocess_
File "/usr/lib/
return commands.
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/home/
return push_and_
File "/home/
_push_
File "/home/
target_branch = _get_target_
File "/home/
target_branch = local_branch.
File "/usr/lib/
controldir = klass.create(base, format)
File "/usr/lib/
"default format, not one of %r" % cls)
AssertionError: BzrDir.create always creates the default format, not one of <class 'bzrlib.
bzr 2.7.0dev1 on python 2.7.6 (Linux-
Ubuntu-
Updating location: bzr+ssh://<email address hidden>
arguments: ['/usr/bin/bzr', 'qsubprocess', '--bencode', 'l15:push-and-
update49:
plugins: bash_completion
explorer[
launchpad[
news_
qbzr[0.23.1], weave_fmt[
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'ca_ES.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
tags: | added: check-for-breezy |
This is a bug in bzr-push- and-update, it should be calling ControlDir. create_ branch_ and_repo( )