开发者

Suppress closed branches in hg view

开发者 https://www.devze.com 2023-01-22 07:51 出处:网络
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 fro

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.

开发者_Go百科

Suppress closed branches in hg view

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.


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. In hgtk you can filter using the new revision sets syntax. This revset query will find open changesets:

ancestors(head() and not closed())


The program hgview doesn't show the dead branches at the top and is available in Ubuntu repositories.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号