cannot create file "aux.rst", no error handling
Bug #566174 reported by
Kiscsirke
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
On windows, when trying to create a file named "aux.rst", windows pops an error message saying
"aux.rst
This file name is reserved for use by Windows.
Choose another name and try again"
When trying to check out a repository which contains a file named such (obviously made by people not using windows), bzr doesn't provide a meaningful error message, it just says
"bzr: ERROR: [Errno 2] No such file or directory: u'D:/prog/
Obviously this isn't a problem bzr can do much about, but better error handling would be nice.
If someone wants to test this, they can use lp:widelands revisions 5208 to at least 5236.
There is a bunch of reserved filenames on Windows, like: con, prn, aux, lpt1, lpt2, com1, com2, etc. which cannot be used as basenames of the files. I agree bzr should fail there with better error message.