From bad58cdca6f129808a841aadfcdfe3ea2876359a Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Wed, 19 Jan 2022 01:21:14 +0000 Subject: [PATCH] upgrade-zulip-from-git: Fix the upstream URL not be the custom remote. --- scripts/lib/upgrade-zulip-from-git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/upgrade-zulip-from-git b/scripts/lib/upgrade-zulip-from-git index 6ed4a10f5f..5a9f4cecc1 100755 --- a/scripts/lib/upgrade-zulip-from-git +++ b/scripts/lib/upgrade-zulip-from-git @@ -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")