uploading to a directory that does not exist should create the directory
Bug #308511 reported by
jezra
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Triaged
|
Wishlist
|
Unassigned | ||
bzr Upload plugin |
Confirmed
|
High
|
Unassigned |
Bug Description
example:
bzr upload ftp://<email address hidden>
fails if the bazaar directory does not exist
Changed in bzr-upload: | |
milestone: | 1.0.0 → none |
tags: | added: ui upload |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
At a minimum the error message should be made more useful. Currently it reads as follows:
$ bzr upload sftp://<email address hidden> /~/path/ to/directory directory/ myfile. info.tmp. 1236970319. 404656887. 1458.1866393847 ': [Errno 2] No such file
No uploaded revision id found, switching to full upload
Uploading myfile.info
bzr: ERROR: No such file: 'path/to/
It would be more useful if this error message was something like, "Target directory not found. Please create the parent directory before uploading your files."