I would like to activate a bookmark that is on the revision if I update
to that revision. For instance, if I do this
hg up -r "bookmark('re:fix.+2572')"
This will update me to the revision the bookmark points to, but it won't activate the bookmark.
Documentation says:
Note that updating to a revision that has a bookmark without using the bookmark name will not activate the bookmark (e.g. if the feature bookmark points to revision #20 and you do hg update --rev 20 the feature bookmark will not be activated).
But to me it seems like a very nice feature/option to have. More so this works if in TortoiseHg UI, but I couldn't figure out how to do it in the command line version of Mercurial.
Is there a way/workaround to do it ?