Upgrade should not warn that the repository needs an upgrade
Bug #59182 reported by
Aaron Bentley
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
Breezy |
Triaged
|
Low
|
Unassigned |
Bug Description
$ bzr upgrade
Format <RepositoryFormat6> for file://
starting upgrade of file://
making backup of tree history
[etc.]
(The warning is harmless, but confusing - it reflects that the branch is being opened to upgrade.)
Changed in bzr: | |
importance: | Untriaged → Low |
description: | updated |
tags: | added: ui upgrade |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
Well, for the new WorkingTree3 => 4 changes, it doesn't:
bzr init --format knit wt3
cd wt3
bzr st
Working tree format 3 is deprecated and a better format is available. /Users/ jameinel/ dev/%2Ctmp/ wt3/
It is recommended that you upgrade by running the command
bzr upgrade file://
bzr upgrade /Users/ jameinel/ dev/%2Ctmp/ wt3/ /Users/ jameinel/ dev/%2Ctmp/ wt3/.bzr has been backed up to file:// /Users/ jameinel/ dev/%2Ctmp/ wt3/.bzr. backup
starting upgrade of file://
making backup of tree history
file://
if conversion fails, you can move this directory back to .bzr
if it succeeds, you can remove this directory if you wish
finished
So that works as we want it to. However, the old Weave format repository still complains:
bzr init --format weave test
Format <RepositoryFormat6> for file:// /Users/ jameinel/ dev/%2Ctmp/ test/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance
cd test
# bzr status also complains
bzr upgrade
Format <RepositoryFormat6> for file:// /Users/ jameinel/ dev/%2Ctmp/ test/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance /Users/ jameinel/ dev/%2Ctmp/ test/ /Users/ jameinel/ dev/%2Ctmp/ test/.bzr has been backed up to file:// /Users/ jameinel/ dev/%2Ctmp/ test/.bzr. backup
starting upgrade of file://
making backup of tree history
file://
if conversion fails, you can move this directory back to .bzr
if it succeeds, you can remove this directory if you wish
starting upgrade from format 6 to metadir
starting repository conversion
repository converted
finished
I would consider closing this bug, since newer formats don't complain in the same way. But older formats do, so for now, I'm marking it Confirmed.