Show More
@@ -177,19 +177,6 b' class SummaryController(BaseRepoControll' | |||||
177 |
|
177 | |||
178 | c.clone_repo_url = uri |
|
178 | c.clone_repo_url = uri | |
179 | c.clone_repo_url_id = uri_id |
|
179 | c.clone_repo_url_id = uri_id | |
180 | c.repo_tags = OrderedDict() |
|
|||
181 | for name, hash_ in c.rhodecode_repo.tags.items()[:10]: |
|
|||
182 | try: |
|
|||
183 | c.repo_tags[name] = c.rhodecode_repo.get_changeset(hash_) |
|
|||
184 | except ChangesetError: |
|
|||
185 | c.repo_tags[name] = EmptyChangeset(hash_) |
|
|||
186 |
|
||||
187 | c.repo_branches = OrderedDict() |
|
|||
188 | for name, hash_ in c.rhodecode_repo.branches.items()[:10]: |
|
|||
189 | try: |
|
|||
190 | c.repo_branches[name] = c.rhodecode_repo.get_changeset(hash_) |
|
|||
191 | except ChangesetError: |
|
|||
192 | c.repo_branches[name] = EmptyChangeset(hash_) |
|
|||
193 |
|
180 | |||
194 | td = date.today() + timedelta(days=1) |
|
181 | td = date.today() + timedelta(days=1) | |
195 | td_1m = td - timedelta(days=calendar.mdays[td.month]) |
|
182 | td_1m = td - timedelta(days=calendar.mdays[td.month]) |
General Comments 0
You need to be logged in to leave comments.
Login now