##// END OF EJS Templates
changelog: use unknown branch names as revisions...
Mads Kiilerich -
r4022:4a0bce84 default
parent child Browse files
Show More
@@ -136,6 +136,13 b' class ChangelogController(BaseRepoContro'
136 c.size = max(c.size, 1)
136 c.size = max(c.size, 1)
137 p = safe_int(request.GET.get('page', 1), 1)
137 p = safe_int(request.GET.get('page', 1), 1)
138 branch_name = request.GET.get('branch', None)
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 c.changelog_for_path = f_path
146 c.changelog_for_path = f_path
140 try:
147 try:
141
148
General Comments 0
You need to be logged in to leave comments. Login now