What is the best way to abandon unwanted changesets currently in a Mercurial topic, which have already been pushed and cannot just be stripped?
To put the question another way, is is possible to remove a topic from the hg topics
output without publishing it?
hg prune -r "topic(some-topic-name)"
will mark all revisions marked with the topic some-topic-name
as obsolete locally
hg push --hidden
should then mark them as such in the remote repository. --hidden
is not always required.