Problems with deleting tags?

Vincent Ladeuil v.ladeuil+lp at free.fr
Sat Apr 16 11:59:13 UTC 2016


>>>>> Joshua Judson Rosen <rozzin at hackerposse.com> writes:

    > On 04/15/2016 01:27 PM, ckalisiak at attotech.com wrote:
    >> Ah, ok, thanks for checking into that.
    >> 
    >> We rarely run into this problem; we've been using Bazaar for 5 years,
    >> and this is the first time it's escalated to this point. The tag in
    >> particular was a release tag that we decided to delete because of an
    >> issue found during the release process. We needed to re-apply the tag
    >> at a newer revision, but couldn't remove the old one.

    > Since nobody appears to have said this explicitly...:

Thanks for that !

    > Basically, the issue you're having is related to the fact that
    > tags in Bazaar are just not, themselves, revision-controlled;

This is the crux indeed, they still aren't version controlled and
--overwrite-tags is a way to fix the edge cases.

<snip/>

    > i.e.: once a release tag is published/propagated to a scope where
    > it becomes difficult to take it back, you deal with the "oh, no, I
    > didn't mean to release _that_!" situation by _doing an additional
    > point release_.

And this is indeed the best available way to deal with the issue: create
a new tag whose semantic override the previous one and then /forget/ the
previous one ever existed.

But sometimes you can't do that which is, I think ckalisiak issue.

    > It's basically the same situation as with rebasing or
    > uncommitting: being able to create not just *revision history* but
    > *revisionist history* is a great tool... right up to the point
    > just before you publish, but not beyond that point.

Yup, well articulated.

<snip/>

    > Even if revision control means never having to say you're sorry,
    > it does sometimes mean having to admit you were wrong :)

And to close the loop about tags not being version controlled, this
means that bzr doesn't offer a way to express changes for a tag in a way
that can be properly distributed.

<snip/>

    >> Note: bzr 2.6b1 official Windows build works OK for me.
    >> 
    >> 
    >> Sorry, I should have checked first. There is no --overwrite-tags flag either :-/

No, *my* bad ;) I said 2.6, I should have said 2.6b2 for at least part
of the fix: https://bugs.launchpad.net/bzr/+bug/681792

   Vincent



More information about the bazaar mailing list