Save cookies back to jar when fetching clone.bundle

Change-Id: I3ef71b5e7f8ee1cda66057e46ae234866c7258c4
This commit is contained in:
Dave Borowitz 2015-01-02 11:39:04 -08:00
parent 137d0131bf
commit 4abf8e6ef8

View File

@ -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]