Files
@ 65386911df2a
Branch filter:
Location: kallithea/rhodecode/templates/switch_to_list.html - annotation
65386911df2a
1.1 KiB
text/html
fixes issue with mercurial 2.0 and archival of subrepos.
- Disable hooks when doing archive commandsvovercome mercurial problem of hook propagation to subrepos
- Disable hooks when doing archive commandsvovercome mercurial problem of hook propagation to subrepos
0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 | ## -*- coding: utf-8 -*-
<li>
${h.link_to('%s (%s)' % (_('branches'),len(c.rhodecode_repo.branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')}
<ul>
%if c.rhodecode_repo.branches.values():
%for cnt,branch in enumerate(c.rhodecode_repo.branches.items()):
<li>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=branch[1]))}</li>
%endfor
%else:
<li>${h.link_to(_('There are no branches yet'),'#')}</li>
%endif
</ul>
</li>
<li>
${h.link_to('%s (%s)' % (_('tags'),len(c.rhodecode_repo.tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')}
<ul>
%if c.rhodecode_repo.tags.values():
%for cnt,tag in enumerate(c.rhodecode_repo.tags.items()):
<li>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=tag[1]))}</li>
%endfor
%else:
<li>${h.link_to(_('There are no tags yet'),'#')}</li>
%endif
</ul>
</li>
|