Show More
@@ -136,6 +136,13 b' class ChangelogController(BaseRepoContro' | |||
|
136 | 136 | c.size = max(c.size, 1) |
|
137 | 137 | p = safe_int(request.GET.get('page', 1), 1) |
|
138 | 138 | branch_name = request.GET.get('branch', None) |
|
139 | if (branch_name and | |
|
140 | branch_name not in c.rhodecode_repo.branches and | |
|
141 | branch_name not in c.rhodecode_repo.closed_branches and | |
|
142 | not revision): | |
|
143 | return redirect(url('changelog_file_home', repo_name=c.repo_name, | |
|
144 | revision=branch_name, f_path=f_path or '')) | |
|
145 | ||
|
139 | 146 | c.changelog_for_path = f_path |
|
140 | 147 | try: |
|
141 | 148 |
General Comments 0
You need to be logged in to leave comments.
Login now