messy error if BZR_HOME does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
Breezy |
Fix Released
|
Medium
|
Martin Packman |
Bug Description
Alexander reports:
BTW, I found another bug related to BZR_HOME and config_dir.
If BZR_HOME contains path to non-existing directory bzr
generate not very clear error message:
E:\Bazaar\
E:\Bazaar\
bzr: ERROR: [Errno 2] No such file or directory: 'non-existing/
E:\Bazaar\
bzr: ERROR: exceptions.OSError: [Errno 2] No such file or directory: 'non-existing/
Traceback (most recent call last):
File "E:\Bazaar\
return run_bzr(argv)
File "E:\Bazaar\
ret = run(*run_argv)
File "E:\Bazaar\
return self.run(
File "E:\Bazaar\
result = func(*args, **kwargs)
File "E:\Bazaar\
to_file=
File "E:\Bazaar\
delta.
File "E:\Bazaar\
self.
File "E:\Bazaar\
ignore_
File "E:\Bazaar\
_set_
File "E:\Bazaar\
config.
File "E:\Bazaar\
os.mkdir(
OSError: [Errno 2] No such file or directory: 'non-existing/
bzr 0.91.0dev0 on python 2.4.4.final.0 (win32)
arguments: ['bzr', '-Derror', 'st']
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in bzr: | |
status: | Triaged → Confirmed |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Martin Packman (gz) |
milestone: | none → 3.1.0 |
Changed in brz: | |
status: | Triaged → Fix Committed |
Changed in brz: | |
status: | Fix Committed → Fix Released |