mirror of https://github.com/zulip/zulip.git
upgrade-zulip-from-git: Fix the upstream URL not be the custom remote.
This commit is contained in:
parent
d4c70319eb
commit
bad58cdca6
|
@ -77,7 +77,7 @@ try:
|
||||||
remotes = subprocess.check_output(["git", "remote"], preexec_fn=su_to_zulip).split(b"\n")
|
remotes = subprocess.check_output(["git", "remote"], preexec_fn=su_to_zulip).split(b"\n")
|
||||||
if b"upstream" not in remotes:
|
if b"upstream" not in remotes:
|
||||||
subprocess.check_call(
|
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")
|
logging.info("Fetching the latest commits")
|
||||||
|
|
Loading…
Reference in New Issue