Learn more about these different git repos.
Other Git URLs
See PR #3089 for the details. Basically, if the pagure.lib.tasks.sync_pull_ref() task runs fast enough, it will create the refs/pull references in the git repo before the call to diff_pull_request() in the PR view. This function will call get_diff_info(), where the .is_empty condition there returns False because refs/pull/ isn't empty, but there is still no target master branch. As a result, there will be a flash error message with "Branch master could not be found in the target repo". We should make that condition smarter.
pagure.lib.tasks.sync_pull_ref()
refs/pull
diff_pull_request()
get_diff_info()
.is_empty
False
refs/pull/
Metadata Update from @pingou: - Issue tagged with: bug
Metadata Update from @pingou: - Issue assigned to pingou
Fixed in ef234eb7f5ebf06f198cab7f7c9d6399dd48d282 which is part of https://pagure.io/pagure/pull-request/3054
Commit 1894300 fixes this issue
Login to comment on this ticket.