diff options
author | Matt Gumbel <matthew.k.gumbel@intel.com> | 2012-08-30 09:39:36 -0700 |
---|---|---|
committer | gerrit code review <noreply-gerritcodereview@google.com> | 2012-09-06 10:54:46 -0700 |
commit | 2dc810c2e4028878b9c3484866a5973d5c33479d (patch) | |
tree | 567de855659b91a4629d4b555b71612e4c8ed70c /subcmds/sync.py | |
parent | bb1b5f5f863fca0e85764f5b35c117f5724d15c0 (diff) | |
download | git-repo-2dc810c2e4028878b9c3484866a5973d5c33479d.tar.gz |
Fix errors when clone.bundle missing on server
Catch curl failures to download clone.bundle; don't let git try to parse
the 404 page as a bundle file (was causing much user confusion).
This should eliminate false error messages from init and sync such as:
error: '.repo/manifests.git/clone.bundle' does not look like a v2 bundle file
fatal: Could not read bundle '.repo/manifests.git/clone.bundle'.
error: RPC failed; result=22, HTTP code = 400
Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>
Change-Id: I7994f7c0baecfb45bb5a5850c48bd2a0ffabe773
Diffstat (limited to 'subcmds/sync.py')
0 files changed, 0 insertions, 0 deletions