抑制 hg 视图中的闭合分支
运行 hg view 命令时,有没有办法防止关闭的分支显示在顶部?我知道“限制”选项。我真的不需要关闭的分支从视图中完全消失,但如果它们保持在下方(它们很久以前就关闭了),而不是每次执行合并时都在顶部附近弹出,那就太好了。
这是发生这种情况的示例屏幕截图。您可以在右侧看到时间都混合在一起,在本例中这并不算太糟糕,但在我的真实存储库中,每次合并时,关闭的分支都会在顶部附近弹出,当关闭的分支已经是一年多前的事了,确实没什么意思。
Is there a way to prevent closed branches from showing up at the top when running the hg view command? I know about the 'limit' option. I don't really need closed branches to completely disappear from the view, but it would be nice if they would stay down (they were closed long ago), rather than popping up near the top every time I perform a merge.
Here is an example screenshot where this happens. You can see on the right that the times are all mixed up, which isn't too terrible in this case, but in my real repo the closed-off branches pop up near the top everytime I have a merge, which gets annoying when the closed-off branch is well over a year ago and truly not interesting.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
没有人更新
hg view
以了解关闭的分支。如今,该扩展大部分已被放弃,因为没有核心开发人员使用它或知道如何在 Tcl/Tk 中进行编程。我们谈论在每个主要版本中删除 hgk...您最好的选择是升级到 TortoiseHg 并使用命令
hgtk log
查看存储库。最好的一点是它可以在 Windows 和 Linux 上运行 - 请参阅
hgtk
维基页面。在hgtk
中,您可以使用新的修订集进行过滤 语法。此修订集查询将找到打开的变更集:Nobody has updated
hg view
to be aware of closed branches. The extension is mostly abandoned these days since none of the core developers use it or know how to program in Tcl/Tk. We talk about removing hgk at every major release...Your best bet is to upgrade to TortoiseHg and use the command
hgtk log
to view the repository.The best thing is that it works on both Windows and Linux -- see the
hgtk
wiki page. Inhgtk
you can filter using the new revision sets syntax. This revset query will find open changesets:该程序 hgview 不会在顶部显示死分支,并且可以在 Ubuntu 存储库中使用。
The program hgview doesn't show the dead branches at the top and is available in Ubuntu repositories.