how can I remove a local tag?

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Nov 18 15:23:18 UTC 2022


On 11/18/22 16:16, Uwe Brauer wrote:
> Hi
>
> After adding a local tag hg log -G shows me
> ◍  changeset:   2:5b1ddd921002
> │  Branch:      default
> │  tag:         tip
> │  Author:      Uwe Brauer <oub at mat.ucm.es>
> │  Date:        Sun, 16 Oct 2022 17:39:22 +0200
> │  Phase:       draft
> │  Summary:     third commit starting line 9, appendix
>> ○  changeset:   1:bc59feefdcfb
> │  Branch:      default
> │  tag:         test
> │  Author:      Uwe Brauer <oub at mat.ucm.es>
> │  Date:        Sun, 16 Oct 2022 17:38:59 +0200
> │  Phase:       draft
> │  Summary:     second commit subsection
>> ○  changeset:   0:1302ad3dd1fd
>     Branch:      default
>     Author:      Uwe Brauer <oub at mat.ucm.es>
>     Date:        Sun, 16 Oct 2022 17:38:38 +0200
>     Phase:       draft
>     Summary:     First commit section
>
> As to be expected. However
>
>   hg tag --remove test gives
> abort: tag 'test' is not a global tag


did you tried `hg tag --remove --local test` ?

Cheers,

-- 
Pierre-Yves David



More information about the Mercurial mailing list