When trying to interact with a newer format, tell the user about upgrading instead of erroring
Bug #447207 reported by
Martin Albisetti
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
High
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
There are many cases where you can try to interact with a newer, supported format. In those cases, we error out with something like:
bzr: ERROR: KnitPackReposit
is not compatible with
KnitPackReposit
different rich-root support
Not very helpful.
Instead of that error, we should tell the user something like:
"The branch you're trying to access is using a newer bzr format. To work with it, you should upgrade your repository by using 'bzr upgrade'."
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: formats formatui |
tags: | added: check-for-breezy |
tags: |
added: confusing-ui removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
How would it know that its a newer format?
It wouldn't have information on that format. It could either be a normal format or just a corrupted repository.