fail when upload directory is missing
Bug #307277 reported by
EmmaJane
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Jason Spashett |
Bug Description
After recovering from backups, I got the following error when I try to commit changes to my project:
bzr: ERROR: No such file: '6ue4yf54nfayf3
The backup recovery tool did not store/recover the empty upload directory. Creating this directory makes the shiny happy magic of bzr work again. It would be wonderful if the error message could include this as a potential problem; and it would be even more wonderful if Bazaar automatically created this directory if it was missing.
Changed in bzr: | |
assignee: | nobody → Jason Spashett (jspashett) |
tags: | added: packs |
tags: | added: check-for-breezy |
To post a comment you must log in.
I agree, it would be nice to give a clearer error in this case.
A possible alternative would be to write a short README file to the 'upload' directory (and to the 'obsolete' directory too), with contents along the lines of "This is part of a Bazaar repository. Do not remove this directory." That would be enough to fool simple automated tools, as well as discouraging simple humans from making the same mistake by hand :)