Clarify where bzr upgrade --dirstate-tags needs to be run in relation to remote checkouts.

Asked by Stuart Colville on 2007-05-29

It's not clear with regard to remote checkout whether I need to run bzr upgrade --dirstate-tags both on a remote repository branches and the checked out branches.

I'm assuming that generally you would just run this for checkout but does this affect anyone downstream of the repo if they are not running this branch format?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
John A Meinel
Solved:
2007-05-30
Last query:
2007-05-30
Last reply:
2007-05-30
Best John A Meinel (jameinel) said : #1

wow, spam on the Q&A list.... that sucks.

Anyway, if you want to be able to have tags stored in a location, you need to 'bzr upgrade --dirstate-tags path/to/that/branch'.

Which means that you need to upgrade your local branch, as well as the remote repository branch. If other people have a checkout of that branch, it should work as long as they have a new enough bzr (so that it supports the new branch format).

Once you start adding tags, I believe bzr will start complaining about not being able to propagate them, unless you 'bzr upgrade' the branch. So bzr push/pull/update will most likely complain.

So while it isn't strictly needed, in practice everything that is associated with that branch (checkouts, etc) will need to be upgraded individually.

Thanks John A Meinel, that solved my question.

Tom Haddon (mthaddon) said : #3

Spam deleted.