Counterintuitive tag behaviour (broken design?)

Christian Boos cboos at neuf.fr
Wed Mar 14 15:44:18 CDT 2007


Matt Mackall wrote:
> ...
> For a tag like "the-latest-build-that-actually-works", if this
> happens, it's a don't-care. Tags on both branches are equally valid
> unless one obsoletes the other. Using the most recently committed or
> pulled version of the tag (aka tip-most) is -the right thing to do-.
>   

Isn't there a branch locality argument worth taking into account here?
E.g. if `hg branch` gives you 'stable', you're certainly more interested 
in the latest "the-latest-build-that-actually-works" on the 'stable' 
branch than in a more recent "the-latest-build-that-actually-works" on 
an 'experimental' branch...

-- Christian


More information about the Mercurial mailing list