# HG changeset patch # User Marcin Kuzminski # Date 2010-12-18 16:13:46 # Node ID 4f89f5f078f83cd0bf701f57b56dd3388ad38866 # Parent 4c123ade8485fed36ebc4ee22f9c59d1ca1fd309 # Parent cef384882e8135e925add4f5a1475788cae10a88 merged with beta diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -424,7 +424,7 @@ def action_parser(user_log): 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 @@ def action_parser(user_log): 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 ''