开发者

Using 'gitweb' style shows all branches. Can I show only desired number of branches?

开发者 https://www.devze.com 2022-12-09 23:54 出处:网络
When Using \'gitweb\' style for hgweb on a page I can see pla开发者_如何学Cnty of branches, for example if I have 1000 of them - all are shown.

When Using 'gitweb' style for hgweb on a page I can see pla开发者_如何学Cnty of branches, for example if I have 1000 of them - all are shown.

I tried setting:

[defaults] branches = -a

in global hgrc file but it doesn't effect the web view. My guess is it is related to 'gitweb' style template's files.

Is there any easy way of limitating the number of branches shown in a web view?

mercurial 1.0.1-5.1~bpo40+1


There is no easy way to do it. I'm not even sure the web templating language currently used can allow it.

The template file can be found here.

0

精彩评论

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

关注公众号