mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Save cookies back to jar when fetching clone.bundle
Change-Id: I3ef71b5e7f8ee1cda66057e46ae234866c7258c4
This commit is contained in:
parent
137d0131bf
commit
4abf8e6ef8
@ -1949,7 +1949,7 @@ class Project(object):
|
||||
cmd += ['--proxy', os.environ['http_proxy']]
|
||||
with self._GetBundleCookieFile(srcUrl) as cookiefile:
|
||||
if cookiefile:
|
||||
cmd += ['--cookie', cookiefile]
|
||||
cmd += ['--cookie', cookiefile, '--cookie-jar', cookiefile]
|
||||
if srcUrl.startswith('persistent-'):
|
||||
srcUrl = srcUrl[len('persistent-'):]
|
||||
cmd += [srcUrl]
|
||||
|
Loading…
Reference in New Issue
Block a user