I want to start using tags in Mercurial. I plan to have a "stable" tag that always points to the last good revision.
As I understand it, I can tag the current changeset via hg tag stable
.
What's the proper way to move the tag? When I try to run hg tag stable
again it tells me:
abort: tag 'stable' already exists (use -f to force)
And if I force it, I get this bug which has no resolution or comments. i.e., it duplicates the old tag. I don't even know why the tag needs to be in there more than once in the first place; I just want to update it to point to a single changeset.
As @guessimtoolate and @Martin Geisler already pointed out, you can use a named branch to accommodate all good revisions (which is also the way we use hg at the company). Another way is to use bookmarks, which act as movable labels attached to one revision.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With