delete a topic

Raffaele Salmaso raffaele at salmaso.org
Wed Oct 4 10:27:27 UTC 2017


On Wed, Oct 4, 2017 at 11:14 AM, Boris Feld <boris.feld at octobus.net> wrote:

> Yes you can with:
>
> hg topics --rev <related revset> --clear
>
> You may also want to clear the current topic with:
>
> hg topics --clear
>
> Cheers,
> Boris
>
> Ouch, I've done a
hg topic -r REV --clear
on a secret changeset and it rewrote the changeset in a draft phase (other
than it removed the topic only on REV, not all its parents, to do so I have
to use
hg topic --clear -r 'topic("ec")'
not really userfriendly - for hg commandline).

I don't think that topics is what I would use: I need bookmarks done right,
which I can add/remove/rename without rewriting history.

Am I wrong and is topics exactly this?

Thanks

-- 
| Raffaele Salmaso
| https://salmaso.org
| https://bitbucket.org/rsalmaso
| https://github.com/rsalmaso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20171004/3abf456e/attachment-0002.html>


More information about the Mercurial mailing list