Comment 1 for bug 308511

EmmaJane (emmajane) wrote :

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
No uploaded revision id found, switching to full upload
Uploading myfile.info
bzr: ERROR: No such file: 'path/to/directory/myfile.info.tmp.1236970319.404656887.1458.1866393847': [Errno 2] No such file

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."