Commit 966a9ae4 authored by Michal Čihař's avatar Michal Čihař

Force creating pull request on GitHub

The hub command does not properly handle different pull and push
locations, so it fails to check that we've already pushed changes to
branch we want to pull.

Fixes #762
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5eaa0181
......@@ -651,6 +651,7 @@ class GithubRepository(GitRepository):
"""
cmd = [
'pull-request',
'-f',
'-h', '{0}:{1}'.format(self._hub_user, fork_branch),
'-b', origin_branch,
'-m', 'Update from Weblate.'.encode('utf-8'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment