fails to create .config directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Fix Released
|
Critical
|
Jelmer Vernooij |
Bug Description
From https:/
breezy doesn't always create it's config dir resulting in an exception.
The current behaviour breaks ros-wstool since the switch from bzr to brz:
https:/
Steps to reproduce:
$ cd $(mktemp -d)
$ HOME=$(pwd) brz init
Created a standalone tree (format: 2a)
$ touch foo
$ HOME=$(pwd) brz status
brz: ERROR: [Errno 2] No such file or directory: '/tmp/tmp.
Excrept from the .bzr.log:
0.039 encoding stdout as sys.stdout encoding 'UTF-8'
0.039 encoding stdout as sys.stdout encoding 'UTF-8'
0.039 encoding stdout as sys.stdout encoding 'UTF-8'
0.049 breezy version: 3.0.1
0.049 brz arguments: ['status']
0.154 encoding stdout as sys.stdout encoding 'UTF-8'
0.170 opening working tree '/tmp/tmp.
0.172 check paths: None
0.173 creating config directory: '/tmp/tmp.
0.173 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.175 Traceback (most recent call last):
File "/usr/lib/
f = open(path, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp.
Related branches
- Jelmer Vernooij: Approve
-
Diff: 64 lines (+24/-2)3 files modifiedbreezy/ignores.py (+2/-2)
breezy/tests/test_ignores.py (+18/-0)
doc/en/release-notes/brz-3.0.txt (+4/-0)
Changed in brz: | |
status: | Triaged → In Progress |
Changed in brz: | |
status: | In Progress → Fix Committed |
milestone: | none → 3.0.2 |
Changed in brz: | |
status: | Fix Committed → Fix Released |