upgrade-zulip-from-git: Fix the upstream URL not be the custom remote.

This commit is contained in:
Alex Vandiver 2022-01-19 01:21:14 +00:00 committed by Tim Abbott
parent d4c70319eb
commit bad58cdca6
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ try:
remotes = subprocess.check_output(["git", "remote"], preexec_fn=su_to_zulip).split(b"\n")
if b"upstream" not in remotes:
subprocess.check_call(
["git", "remote", "add", "upstream", remote_url], preexec_fn=su_to_zulip
["git", "remote", "add", "upstream", upstream_url], preexec_fn=su_to_zulip
)
logging.info("Fetching the latest commits")