Comment 1 for bug 59182

Revision history for this message
John A Meinel (jameinel) wrote : Re: Upgrade suggests upgrade

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.
It is recommended that you upgrade by running the command
  bzr upgrade file:///Users/jameinel/dev/%2Ctmp/wt3/

bzr upgrade
starting upgrade of file:///Users/jameinel/dev/%2Ctmp/wt3/
making backup of tree history
file:///Users/jameinel/dev/%2Ctmp/wt3/.bzr has been backed up to file:///Users/jameinel/dev/%2Ctmp/wt3/.bzr.backup
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
starting upgrade of file:///Users/jameinel/dev/%2Ctmp/test/
making backup of tree history
file:///Users/jameinel/dev/%2Ctmp/test/.bzr has been backed up to file:///Users/jameinel/dev/%2Ctmp/test/.bzr.backup
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.