##// END OF EJS Templates
limited calculation of added/changed/removed files for large changesets, saving a lot of memory
marcink -
r1129:fe7fa994 beta
parent child Browse files
Show More
@@ -1635,6 +1635,15 text-align:center;
1635 min-width:15px;
1635 min-width:15px;
1636 cursor: help;
1636 cursor: help;
1637 }
1637 }
1638 .right .changes .large {
1639 border:1px solid #DDD;
1640 display:block;
1641 float:right;
1642 text-align:center;
1643 min-width:45px;
1644 cursor: help;
1645 background: #54A9F7;
1646 }
1638
1647
1639 .right .changes .added {
1648 .right .changes .added {
1640 background:#BFB;
1649 background:#BFB;
@@ -61,10 +61,14
61 <div class="message">${h.link_to(h.wrap_paragraphs(cs.message),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div>
61 <div class="message">${h.link_to(h.wrap_paragraphs(cs.message),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</div>
62 </div>
62 </div>
63 <div class="right">
63 <div class="right">
64 <div class="changes">
64 <div class="changes">
65 % if len(cs.affected_files) <= 30:
65 <span class="removed tooltip" title="<b>${_('removed')}</b>${h.changed_tooltip(cs.removed)}">${len(cs.removed)}</span>
66 <span class="removed tooltip" title="<b>${_('removed')}</b>${h.changed_tooltip(cs.removed)}">${len(cs.removed)}</span>
66 <span class="changed tooltip" title="<b>${_('changed')}</b>${h.changed_tooltip(cs.changed)}">${len(cs.changed)}</span>
67 <span class="changed tooltip" title="<b>${_('changed')}</b>${h.changed_tooltip(cs.changed)}">${len(cs.changed)}</span>
67 <span class="added tooltip" title="<b>${_('added')}</b>${h.changed_tooltip(cs.added)}">${len(cs.added)}</span>
68 <span class="added tooltip" title="<b>${_('added')}</b>${h.changed_tooltip(cs.added)}">${len(cs.added)}</span>
69 % else:
70 <span class="large tooltip" title="${_('affected %s files') % len(cs.affected_files)}">${len(cs.affected_files)}</span>
71 % endif
68 </div>
72 </div>
69 %if len(cs.parents)>1:
73 %if len(cs.parents)>1:
70 <div class="merge">
74 <div class="merge">
General Comments 0
You need to be logged in to leave comments. Login now