Skip to content
Snippets Groups Projects
Commit 0a9009d5 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

hgweb: limit branches shown on summary page to 10

Tags and bookmarks on summary page are already limited to 10, let's limit
branches as well.

Each of the blocks (tags, bookmarks, branches) currently has a link to the full
list.
parent e466c155
No related branches found
No related tags found
No related merge requests found
......@@ -724,7 +724,7 @@
lastchange=tip.date(),
tags=tagentries,
bookmarks=bookmarks,
branches=webutil.branchentries(web.repo, web.stripecount),
branches=webutil.branchentries(web.repo, web.stripecount, 10),
shortlog=changelist,
node=tip.hex(),
symrev='tip',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment