Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想编写一个识别当前变更集并标记它们的应用程序。我知道我们可以使用 hg identify.
hg identify
获得变更集后,有什么方法可以标记它吗?
谢谢
从文档中:
hg tag [-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...
所以这应该工作:
$ hg tag -r revision tagname
$ hg tag -r changeset tagname