crash when "bzr ls" against a file in a branch w/o working tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
Originally found in bzr 2.2.1 in Ubuntu 10.10, still present in lp:bzr as of the time I am reporting this bug.
Given a shared repository "/path/to/repo", a branch (without a working tree) in it named "trunk", a directory in the branch named "app" and a file in the branch named "foo" the following commands work:
$ bzr ls /path/to/repo/trunk
$ bzr ls /path/to/
And the following command crashes:
$ bzr ls /path/to/
The following crash output is generated as a result of this:
<mbt@aloe> ~/Projects/
Unable to load plugin 'rewrite'. It requested API version (2, 3, 0) of module <module 'bzrlib' from '/home/
Unable to load plugin 'svn'. It requested API version (2, 2, 0) of module <module 'bzrlib' from '/home/
Unable to load plugin 'gtk'. It requested API version (2, 2, 0) of module <module 'bzrlib' from '/home/
Unable to load plugin 'loggerhead'. It requested API version (2, 2, 0) of module <module 'bzrlib' from '/home/
bzr: failed to report crash using apport:
OSError(13, 'Permission denied')
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return self._operation
File "/home/
self.cleanups, self.func, *args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
result = func(*args, **kwargs)
File "/home/
from_
File "/home/
for path, entry in entries:
File "/home/
children = from_dir.
AttributeError: 'InventoryFile' object has no attribute 'children'
bzr 2.4.0dev1 on python 2.6.6 (Linux-
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.utf8'
plugins:
bash_completion /home/mbt/
bzrtools /usr/lib/
cia /usr/lib/
dbus /usr/lib/
launchpad /home/mbt/
netrc_
news_merge /home/mbt/
pager /home/mbt/
search /usr/lib/
*** 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.
bzr: warning: some compiled extensions could not be loaded; see <https:/