Deleting a tag from a bound branch

Matthew D. Fuller fullermd at over-yonder.net
Sun Nov 13 21:37:55 UTC 2011


On Sun, Nov 13, 2011 at 09:22:17PM +0000 I heard the voice of
Max Bowsher, and lo! it spake thus:
> 
> So, why is everyone not saying that Bazaar should self-evidently do
> the same?
> 
> As I see it, primarily because, since a tag can only ever be applied
> in a new revision, to revisions which have gone before, if you
> branch from a tag in Mercurial, you do NOT get the tag you branched
> from in the newly created branch!

There are sorta two problems with it; one is a generalization of that
one, in that you can't make a tag without a new rev, which is kinda
icky (and also means you can never tag the head of a branch.  At
least, not without a custom script dug into bzrlib to let you hardcode
your new revid...).

The other is that it's a layering violation, to have to extract a
working tree file to find out what revision in the branch we're
referring to (and the subsidiary question of "Hey, which rev of the WT
are we supposed to look at the file from?").  Fun.


-- 
Matthew Fuller
<mfuller at infocus-llc.com>



More information about the bazaar mailing list