How can one change the name of a tag?

后端 未结 5 1208
我在风中等你
我在风中等你 2021-02-19 03:59

I have made a tag in mercurial:

hg tag release_123

Later on I found out that the name was wrong, it should be release_124. Is it pos

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-19 04:28

    If you are using TortoiseHg, its pretty simple:

    case#1 if it's a local tag: right click a tagged change-set|tag...|Select tag |Options |Replace existing tag | Done < local tag will disappear>

    case#2 if its global tag: right click a tagged change-set|tag...| Select tag| Options | Replace existing tag | Remove Now select change-set and create new tag (its like a renamed tag). Not in one click though :-)

提交回复
热议问题