# HG changeset patch # User Marcin Kuzminski # Date 2013-04-15 20:59:09 # Node ID f485eb78b519e332c66fe69d72c837184417eff6 # Parent 087b50ef7e17f9570b56ff5e090a4b85e4cf3ef2 remove obsolete and not used branches/tags extraction on summary page diff --git a/rhodecode/controllers/summary.py b/rhodecode/controllers/summary.py --- a/rhodecode/controllers/summary.py +++ b/rhodecode/controllers/summary.py @@ -177,19 +177,6 @@ class SummaryController(BaseRepoControll c.clone_repo_url = uri c.clone_repo_url_id = uri_id - c.repo_tags = OrderedDict() - for name, hash_ in c.rhodecode_repo.tags.items()[:10]: - try: - c.repo_tags[name] = c.rhodecode_repo.get_changeset(hash_) - except ChangesetError: - c.repo_tags[name] = EmptyChangeset(hash_) - - c.repo_branches = OrderedDict() - for name, hash_ in c.rhodecode_repo.branches.items()[:10]: - try: - c.repo_branches[name] = c.rhodecode_repo.get_changeset(hash_) - except ChangesetError: - c.repo_branches[name] = EmptyChangeset(hash_) td = date.today() + timedelta(days=1) td_1m = td - timedelta(days=calendar.mdays[td.month])