TortoiseHg RevSet 查询以查看分支谱系
在TortoiseHg中是否可以编写一个revset查询来仅显示分支中涉及的变更集?更具体地说,我想查看每个分支的第一个修订版、它的直接父级以及每个分支的当前负责人。
我的目标是查看我们的存储库中发生的所有分支活动的简明图片,而无需所有中间签入。
谢谢
In TortoiseHg is it possible to write a revset query that would show only the changesets involved in branching? More specifically I'd like to see the the first revision of every branch, it's direct parent, and the current head of each branch.
My goal here is to see a concise picture of all the branching activity that's happening in our repo without all the intermediate check-ins.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的
(我使用我的 Assembla repo 和单个命名分支作为示例和检查点在以下示例中)
hg log -r "branch(Cleanup)" -l 1
或hg log -r "min(branch(Cleanup))"
或hg log -r "first(branch(Cleanup))"
hg log -r "parents(min(branch) (Cleanup)))"
或hg log -r "p1(min(branch(Cleanup)))"
或hg log -r "min(branch(Cleanup))^"
hg Heads Cleanup
或hg log -r "head() and (branch(Cleanup))"
或hg log -r "heads(branch(Cleanup))"
Yes
(I use my Assembla repo with single named branch as example and check-point for you in the following examples)
hg log -r "branch(Cleanup)" -l 1
orhg log -r "min(branch(Cleanup))"
orhg log -r "first(branch(Cleanup))"
hg log -r "parents(min(branch(Cleanup)))"
orhg log -r "p1(min(branch(Cleanup)))"
orhg log -r "min(branch(Cleanup))^"
hg heads Cleanup
orhg log -r "head() and (branch(Cleanup))"
orhg log -r "heads(branch(Cleanup))"