TortoiseHg:如何将节点哈希与其修订图中的修订节点进行匹配?
不久前,我使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这适用于 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 pressingCtrl+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.
hg log -r 72f497079285b2c3cf4f8b86950664f84221cd63
或hg update -r 72f497079285b2c3cf4f8b86950664f84221cd63
hg log -r 72f497079285b2c3cf4f8b86950664f84221cd63
orhg update -r 72f497079285b2c3cf4f8b86950664f84221cd63