Querying available plugin options crashes with KeyError: 'dry-run'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Externals plugin |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
As of bzr 2.5 'dry-run' is not an automatically registered global option anymore. Hence querying valid options for the plugin in bzrlib.
The backtrace is as follows (Ubuntu 11.10, bzr 2.5.0-2~
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/
bash_
File "/usr/lib/
data = dc.collect()
File "/usr/lib/
self.commands()
File "/usr/lib/
self.
File "/usr/lib/
opts = cmd.options()
File "/usr/lib/
o = option.
KeyError: 'dry-run'
Related branches
- Eugene Tarasenko: Approve
- Martin Packman (community): Approve
-
Diff: 13 lines (+2/-1)1 file modifiedcommands.py (+2/-1)
Changed in bzr-externals: | |
status: | New → Confirmed |
Changed in bzr-externals: | |
status: | Confirmed → Fix Committed |
I don't think this is only a problem in bzr-externals, unfortunately, because on a Precise installation containing
ii bzr 2.5.0-2ubuntu2 easy to use distributed version control system fast-export plugin for Bazaar
ii bzr-fastimport 0.13.0-1 Fast-import/
ii bzrtools 2.5-1 Collection of tools for bzr
ii python-bzrlib 2.5.0-2ubuntu2 distributed version control system - python library
I am still seeing this issue (and I don't seem to even have an externals.py file on my filesystem).