Show More
@@ -487,7 +487,9 b' class RepoPullRequestsView(RepoAppView, ' | |||
|
487 | 487 | log.debug('Failed to get shadow repo', exc_info=True) |
|
488 | 488 | # try first the existing source_repo, and then shadow |
|
489 | 489 | # repo if we can obtain one |
|
490 |
commits_source_repo = source_scm |
|
|
490 | commits_source_repo = source_scm | |
|
491 | if shadow_scm: | |
|
492 | commits_source_repo = shadow_scm | |
|
491 | 493 | |
|
492 | 494 | c.commits_source_repo = commits_source_repo |
|
493 | 495 | c.ancestor = None # set it to None, to hide it from PR view |
@@ -617,7 +619,7 b' class RepoPullRequestsView(RepoAppView, ' | |||
|
617 | 619 | diffset = cached_diff['diff'] |
|
618 | 620 | else: |
|
619 | 621 | diffset = self._get_range_diffset( |
|
620 |
source_ |
|
|
622 | commits_source_repo, source_repo, | |
|
621 | 623 | commit1, commit2, diff_limit, file_limit, |
|
622 | 624 | c.fulldiff, ign_whitespace_lcl, context_lcl |
|
623 | 625 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now