Show More
@@ -351,6 +351,8 b' class RepoPullRequestsView(RepoAppView, ' | |||||
351 | # pull_requests repo_name we opened it against |
|
351 | # pull_requests repo_name we opened it against | |
352 | # ie. target_repo must match |
|
352 | # ie. target_repo must match | |
353 | if self.db_repo_name != pull_request_at_ver.target_repo.repo_name: |
|
353 | if self.db_repo_name != pull_request_at_ver.target_repo.repo_name: | |
|
354 | log.warning('Mismatch between the current repo: %s, and target %s', | |||
|
355 | self.db_repo_name, pull_request_at_ver.target_repo.repo_name) | |||
354 | raise HTTPNotFound() |
|
356 | raise HTTPNotFound() | |
355 |
|
357 | |||
356 | c.shadow_clone_url = PullRequestModel().get_shadow_clone_url( |
|
358 | c.shadow_clone_url = PullRequestModel().get_shadow_clone_url( |
General Comments 0
You need to be logged in to leave comments.
Login now