WorkingTree4._iter_changes traverses unversioned directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
In bzr.dev, WorkingTree4.
Behavior: The user may not have permission to traverse the unversioned subdirectories. This causes a Permission denied error. This does not occur with WorkingTree3.
Performance: If the unversioned part of the tree is large, Bazaar may spend significant time traversing the unversioned directory. This performance penalty is not necessary: since the directories are unversioned, they can produce no useful information.
abentley@
M forms2.
M forms2.
M forms2.
M forms2.
+N forms2.
+N forms2.
bzr: ERROR: exceptions.OSError: [Errno 13] Permission denied: '/home/
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
result = func(*args, **kwargs)
File "/home/
to_
File "/home/
_mod_
File "/home/
for (file_id, path, content_change, versioned, parent_id, name, kind,
File "/home/
current_
File "/home/
for name in sorted(
OSError: [Errno 13] Permission denied: '/home/
bzr 0.16.0dev0 on python 2.4.1.final.0 (linux2)
arguments: ['/home/
** please send this report to <email address hidden>
description: | updated |
Changed in bzr: | |
status: | Unconfirmed → Confirmed |
This was actually fixed as bug #110399, so I'm marking it as a duplicate of that (fixed) bug.