RemoteBzrDir.create_workingtree has wrong signature
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Neil Martinsen-Burrell |
Bug Description
This is almost certainly operator error to pass remote URLs where local paths are intended, but because of the missing arguments, it doesn't even get a chance to raise the NotLocalUrl exception. I can't seem to find a way to trigger this from the CLI outside of my plugin code.
$ bzr colo-init bzr+ssh:
Shared repository (format: unnamed)
Location:
shared repository: bzr+ssh:
Created a repository branch (format: unnamed)
Using shared repository: bzr+ssh:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/Users/
return the_callable(*args, **kwargs)
File "/Users/
ret = run(*run_argv)
File "/Users/
return self.run_
File "/Users/
return self._operation
File "/Users/
self.cleanups, self.func, *args, **kwargs)
File "/Users/
result = func(*args, **kwargs)
File "/Users/
outf=self.outf,
File "/Users/
lightweight
File "/Users/
return self._operation
File "/Users/
self.cleanups, self.func, *args, **kwargs)
File "/Users/
result = func(*args, **kwargs)
File "/Users/
accelerator
File "/Users/
hardlink=
TypeError: create_
bzr 2.2.0dev1 on python 2.6.4 (Darwin-
arguments: ['/Users/
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
automirror /Users/
bzrtools /Users/
colo /Users/
colocated /Users/
explorer /Users/
fastimport /Users/
git /Users/
latex_
launchpad /Users/
netrc_
news_merge /Users/
pipeline /Users/
qbzr /Users/
rst2html /Users/
xmloutput /Users/
*** 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.
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in bzr: | |
milestone: | none → 2.3b2 |
status: | In Progress → Fix Committed |
assignee: | nobody → Neil Martinsen-Burrell (nmb) |
status: | Fix Committed → Fix Released |