##// END OF EJS Templates
pull request: for consistency use org_repo when info is available in several places
Mads Kiilerich -
r3328:12c72fbd beta
parent child Browse files
Show More
@@ -126,9 +126,9 b' class PullrequestsController(BaseRepoCon'
126
126
127 c.org_repos = []
127 c.org_repos = []
128 c.org_repos.append((org_repo.repo_name, '%s/%s' % (
128 c.org_repos.append((org_repo.repo_name, '%s/%s' % (
129 org_repo.user.username, c.repo_name))
129 org_repo.user.username, org_repo.repo_name))
130 )
130 )
131 c.org_refs = self._get_repo_refs(c.rhodecode_repo)
131 c.org_refs = self._get_repo_refs(org_repo.scm_instance)
132
132
133 c.other_repos = []
133 c.other_repos = []
134 # add org repo to other so we can open pull request against itself
134 # add org repo to other so we can open pull request against itself
General Comments 0
You need to be logged in to leave comments. Login now