NotBranchError could explain more about why a path is not a branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
Breezy |
Triaged
|
Low
|
Unassigned |
Bug Description
There are multiple ways a location can be not a branch, such as:
* no .bzr directory
* .bzr directory present, but no .bzr/branch directory
Possibly other ways as well. I have observed both of these as common problems on the sftp://
It would be helpful if Bazaar explained exactly why it does not consider a location to be a branch, because that both explains to the user what's going on (and where to look next to diagnose further), and also because it makes suggesting a likely remedy easier.
In particular, it would help bug #86402 by improving user feedback and making it easy for the system to suggest an appropriate remedy to the user.
For the case where there is a .bzr directory, but no branch in it, perhaps the error text ought to suggest the user try "bzr info" to understand what it is that directory contains instead.
Changed in bzr: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: check-for-breezy |
tags: |
added: error-reporting removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
Here is my bzr info. I have looked at it for some time, don't see what is missing. I will attach it. It is going to take some time to get it clear