vcs: don't use deprecated .revisions calls.

This commit is contained in:
Marcin Kuzminski 2018-10-01 16:10:45 +02:00
parent d793ec4f31
commit 2c9cb64742

View file

@ -174,7 +174,7 @@
</div>
<div class="right-content">
<div class="input ${summary(c.show_stats)} downloads">
% if c.rhodecode_repo and len(c.rhodecode_repo.revisions) == 0:
% if c.rhodecode_repo and len(c.rhodecode_repo.commit_ids) == 0:
<span class="disabled">
${_('There are no downloads yet')}
</span>