commit | c9571423f843340de19ef576ccaa418ac72fdb58 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Wed Jan 11 14:58:54 2012 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Wed Jan 11 16:18:40 2012 -0800 |
tree | 938fdcdde76dfc1cc8b299e0f6d96648242902e1 | |
parent | 34fb20f67c7bdca2b1321a40f2fd558f9a34d866 [diff] |
upload: Support uploading to Gerrit over https:// If SSH is not available, Gerrit returns NOT_AVAILABLE to the /ssh_info query made by repo upload. In this case fallback to the /p/$PROJECT URL that Gerrit also exports and use that for uploads. Change-Id: I1e3e39ab709ecc0a692614a41a42446426f39c08