Can't Push with Tags (even after upgrade --dirstate-tags)

Asked by Jonathan Anderson on 2007-06-20

I have a repository on a webserver and a local branch on several working computers. Everything was fine until I wanted to use tags.

I upgraded both the local and remote branches with 'bzr upgrade --dirstate-tags', but when I try to push from the local to the remote branch, I get this error message:

bzr: ERROR: Tags not supported by BzrBranch5('sftp://path/to/branch/'); you may be able to use bzr upgrade --dirstate-tags.

If I try to run 'bzr upgrade --dirstate-tags' again on the remote branch, I get:

bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format

I'm running bzr 0.17 on both ends.

Question information

English Edit question
Bazaar Edit question
No assignee Edit question
Solved by:
Jonathan Anderson
Last query:
Last reply:

Sorry, my fault... I'm working with too many servers here. :)

The problem was on the server that didn't have bzr installed (so I couldn't upgrade the repository). I'm using a newer server now anyway (which the branch *was* upgraded on, and which works perfectly).

John A Meinel (jameinel) said : #2

Just as a pointer, you can also upgrade sftp paths using:

bzr upgrade --dirstate-tags sftp://path/to/branch

So you *don't* need bzr installed on the server to upgrade that branch.

Oh, that's excellent! Thanks very much.