bzr: ERROR: exceptions.KeyError: 'Bazaar-NG Loom branch format 6\n' branching from smart server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
mkdir ocsng
cd ocsng
bzr branch lp:ocsinventory-unix-agent
gets me:
bzr: ERROR: exceptions.
BzrVersion: 2.1.1
Traceback:
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/
from_location)
File "/usr/lib/
return bzrdir.
File "/usr/lib/
return None, self.open_branch()
File "/usr/lib/
setup_
File "/usr/lib/
self.tags = self._format.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
r = Registry.get(self, format_string)
File "/usr/lib/
return self._dict[
KeyError: 'Bazaar-NG Loom branch format 6\n'
Related branches
- Martin Pool: Approve
-
Diff: 123 lines (+52/-11)3 files modifiedbzrlib/remote.py (+37/-11)
bzrlib/tests/test_remote.py (+12/-0)
doc/en/release-notes/bzr-2.5.txt (+3/-0)
tags: | added: hpss |
summary: |
bzr: ERROR: exceptions.KeyError: 'Bazaar-NG Loom branch format 6\n' + branching from smart server |
Changed in bzr: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.5b4 |
status: | In Progress → Fix Released |
The branch is in the loom format from the bzr-loom plugin. I helped the reporter on IRC, they've installed the plugin and all is well.
However, we should do better than an ugly KeyError here. Normally we give some sort of sensible error saying "unrecognised format" or something like that, we should do the same here.