← Back to team overview

schooltool-developers team mailing list archive

Re: Upgraded branches to bzr 2a format

 

2011/2/9 Gediminas Paulauskas <menesis@xxxxxx>:
> I have upgraded schooltool* trunks to 2a format. If you have problems
> pulling branches, see Bazaar documentation and upgrade your branches
> or create new ones.
>
> http://doc.bazaar.canonical.com/latest/en/upgrade-guide/index.html
>
> Basically, if you have a shared repository, go there and do "bzr
> upgrade". If you have standalone branches, then you have to do this in
> each branch. Try pull, if it doesn't work, then upgrade.

This is causing more problems that I thought. In the documentation
there was a safe way to upgrade trunk on launchpad, but I did not use
it, hoping that Launchpad Code "Upgrade" function will do the right
thing. Turns out it doesn't.

$ bzr branch lp:~replaceafill/schooltool.gradebook/replaceafill_schooltool.gradebook
bzr: ERROR: RemoteRepository(bzr+ssh://bazaar.launchpad.net/~schooltool-owners/schooltool.gradebook/trunk/.bzr/)
is not compatible with
RemoteRepository(bzr+ssh://bazaar.launchpad.net/~replaceafill/schooltool.gradebook/replaceafill_schooltool.gradebook/.bzr/)
different rich-root support

If you get an error like this, go to
https://code.launchpad.net/~replaceafill/schooltool.gradebook/replaceafill_schooltool.gradebook
and click the "Upgrade this branch" link at the bottom.

I cannot upgrade your branches, so you will have to do this yourself.

It is a good time to review your branches on Launchpad. If everything
from the branch has been merged to trunk, you can safely delete the
branch from Launchpad. They no longer work anyway (without upgrade).
Choose Branches with status: "Any status" to see already merged
branches.

cambodia, zambia, versionator and other branches that are not branches
of schooltool should not be affected. You can upgrade them at your
convenience.

Apologies again. I could have handled this transition better.



References