[Pkg-bazaar-maint] Bug#445937: bzr: tagging doesn't work

Adeodato Simó dato at net.com.org.es
Tue Oct 9 11:09:18 UTC 2007


* Peter Eisentraut [Tue, 09 Oct 2007 11:02:05 +0200]:

> Package: bzr
> Version: 0.91-2
> Severity: normal

> trunk$ bzr tags
> trunk$ bzr tag TESTTAG
> bzr: ERROR: Tags not supported by BzrBranch5('bzr+ssh://hostname/whatever/trunk/'); you may be able to use bzr upgrade --dirstate-tags.

Note, here, that you're running `bzr tag TESTTAG` in a local branch
('trunk'), but it complains about the remote branch ('bzr+ssh://...')
being the one that doesn't support tags.

This probably means the local branch is a checkout, and albeit it's
upgraded to a format that supports tags, the remote branch is not.

You'll need to do:

  % bzr upgrade --dirstate-tags sftp://hostname/whatever/trunk

(`bzr upgrade` does not work over bzr+ssh://, the last time I checked.)

> trunk$ bzr upgrade --dirstate-tags
> bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.

Right, this tries to upgrade the local branch, which is already
upgraded.

> This worked just a second ago with 0.18-1 before I upgraded.  That one
> had also asked me to run the upgrade command, which I did and then I
> could set and delete tags.

Probably the branch where it worked was not a checkout, just a normal
branch.

Please let me know if I got things right or not.

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                         Listening to: Andrés Calamaro - Contigo aprendí






More information about the Pkg-bazaar-maint mailing list