TortoiseHg:如何将节点哈希与其修订图中的修订节点进行匹配?

发布于 2024-12-19 11:56:43 字数 279 浏览 2 评论 0原文

不久前,我使用 hg archive 向某人提供了我的代码副本。从那时起发生了很多提交,我不记得我给他的修订版本是什么。 .hg_archival.txt 文件中有一些关于我提供给该人的版本的信息。它具有节点哈希信息,例如 node: 72f497079285b2c3cf4f8b86950664f84221cd63

使用 .hg_archival.txt 文件中的信息(如节点哈希)如何在 TortoiseHg 中显示的修订图中找到相应的修订节点?

I gave someone a copy of my code using hg archive a while ago. A lot of commits has happened since then and I cannot remember which was the revision I gave him. There is some information about the version I had given the person in the .hg_archival.txt file. It has the node hash information, for example node: 72f497079285b2c3cf4f8b86950664f84221cd63

Using the information in the .hg_archival.txt file (like the node hash) how do I find the corresponding revision node in the revision graph displayed in TortoiseHg?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

活雷疯 2024-12-26 11:56:43

这适用于 TortoiseHg 2.xy 如果过滤器工具栏不可见,请通过选择查看 -> 来启用它。过滤器工具栏或按Ctrl+S

在“过滤器”工具栏的修订集查询文本框中粘贴节点哈希并按 Enter 键。如果设置了过滤器复选框,则仅显示与哈希匹配的修订版本。如果禁用过滤器复选框,则与散列匹配的修订版将在完整修订版图中突出显示。

完整的哈希值有 40 个字符长。您只需粘贴足够的内容即可明确匹配修订版。

This works with TortoiseHg 2.x.y. If the Filter Toolbar is not visible, enable it by choosing View -> Filter Toolbar or pressing Ctrl+S.

In the revision set query textbox of the Filter toolbar paste the node hash and press Enter. If the Filter check box is set, only the revision matching the hash is displayed. If you disable the Filter check box, the revision matching the hash is highlighted in the complete revision graph.

The complete hash is 40 characters long. You only need to paste enough of it to be able to unambiguously match a revision.

极致的悲 2024-12-26 11:56:43

hg log -r 72f497079285b2c3cf4f8b86950664f84221cd63hg update -r 72f497079285b2c3cf4f8b86950664f84221cd63

hg log -r 72f497079285b2c3cf4f8b86950664f84221cd63 or hg update -r 72f497079285b2c3cf4f8b86950664f84221cd63

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文