gpt4 book ai didi

mercurial - 我可以将 'sticky notes' 添加到 mercurial 版本中吗?

转载 作者:行者123 更新时间:2023-12-03 08:21:43 24 4
gpt4 key购买 nike

是否可以在 mercurial 的修订中添加“便签”?

真的,我只想在存储库上涂鸦。

一个可能的用例:假设我正在通过一个分支尝试查找引入错误的位置,我可以检查修订版本,尝试它,然后添加一个有效或损坏的标签以表明我已经尝试过那个。

如果可以编辑修订评论,这将非常有用。

书签和标签等不适合这个,因为它们会四处移动,你不能有两个相同的。像那些但意义不大的机制会很好。

如果涂鸦可以出现在 tortoise hg 的日志窗口中,则可以获得加分。

hg bisect 是解决上述特定情况的好工具,但我可以想到这种机制的许多其他用途。

最佳答案

如果您正在寻找错误,请查看 bisect命令。

This command helps to find changesets which introduce problems. To use, mark the earliest changeset you know exhibits the problem as bad, then mark the latest changeset which is free from the problem as good. Bisect will update your working directory to a revision for testing (unless the -U/--noupdate option is specified). Once you have performed tests, mark the working directory as good or bad, and bisect will either update to another candidate changeset or announce that it has found the bad revision.

关于mercurial - 我可以将 'sticky notes' 添加到 mercurial 版本中吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8244431/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com