Show More
@@ -103,8 +103,11 b' class CompareController(BaseRepoControll' | |||||
103 | c.org_repo = org_repo = Repository.get_by_repo_name(org_repo) |
|
103 | c.org_repo = org_repo = Repository.get_by_repo_name(org_repo) | |
104 | c.other_repo = other_repo = Repository.get_by_repo_name(other_repo) |
|
104 | c.other_repo = other_repo = Repository.get_by_repo_name(other_repo) | |
105 |
|
105 | |||
106 |
if c.org_repo is None |
|
106 | if c.org_repo is None: | |
107 |
log.error('Could not f |
|
107 | log.error('Could not find org repo %s' % org_repo) | |
|
108 | raise HTTPNotFound | |||
|
109 | if c.other_repo is None: | |||
|
110 | log.error('Could not find other repo %s' % other_repo) | |||
108 | raise HTTPNotFound |
|
111 | raise HTTPNotFound | |
109 |
|
112 | |||
110 | if c.org_repo != c.other_repo and h.is_git(c.rhodecode_repo): |
|
113 | if c.org_repo != c.other_repo and h.is_git(c.rhodecode_repo): |
General Comments 0
You need to be logged in to leave comments.
Login now