Mercurial > kallithea
diff rhodecode/lib/helpers.py @ 864:cef384882e81 beta
Proper fix for number of changesets in journal
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 18 Dec 2010 17:13:10 +0100 |
parents | e81636a261cf |
children | 4f89f5f078f8 d65843e07d3c |
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py Sat Dec 18 16:59:52 2010 +0100 +++ b/rhodecode/lib/helpers.py Sat Dec 18 17:13:10 2010 +0100 @@ -424,7 +424,7 @@ def get_cs_links(): if action == 'push': - revs_limit = 1000 + revs_limit = 5 revs = action_params.split(',') cs_links = " " + ', '.join ([link(rev, url('changeset_home', @@ -443,7 +443,7 @@ cs_links += html_tmpl % (uniq_id, ', '.join([link(rev, url('changeset_home', repo_name=user_log.repository.repo_name, - revision=rev)) for rev in revs[:revs_limit] ])) + revision=rev)) for rev in revs[revs_limit:] ])) return cs_links return ''