bzr status gives ugly traceback in read-only tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
I accidently ran bzr status in a bzr tree as the wrong user and was greeted with this:
$ bzr st
unknown:
config/
bzr: ERROR: [Errno 13] Permission denied: '/srv/archive.
/usr/lib/
warn("file group %r was not explicitly unlocked" % self)
/usr/lib/
warn("file group %r was not explicitly unlocked" % self)
/usr/lib/
warn("file group %r was not explicitly unlocked" % self)
$
Now obviously it'd be nice if bzr status just worked in a read-only tree (and I believe there's a bug about this already), but at the very least that ugly-as-sin pseudo-traceback output needs to die.
Related branches
Changed in bzr: | |
status: | Fix Committed → Fix Released |
Bazaar shouldn't use the stat cache if it doesn't have write access or perhaps use another, temporary directory?