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

Asked by Jonathan Anderson

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

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Jonathan Anderson
Solved:
Last query:
Last reply:
Revision history for this message
Best Jonathan Anderson (jonathan-anderson) said :
#1

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).

Revision history for this message
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.

Revision history for this message
Jonathan Anderson (jonathan-anderson) said :
#3

Oh, that's excellent! Thanks very much.