]> khamidou — GitHub mirrors - arcanist.git/commit
Make "arc upload" chunk-aware
authorepriestley <git@epriestley.com>
Fri, 13 Mar 2015 18:30:50 +0000 (11:30 -0700)
committerepriestley <git@epriestley.com>
Fri, 13 Mar 2015 18:30:50 +0000 (11:30 -0700)
commita01d3c3b1a5a29e99f13dc35f6e83b896e0dcb21
treeccd2ae788453efa1941a83e6a83d58139e9f0d68
parentf51f55a63cbceec95319d5236292970c7918866e
Make "arc upload" chunk-aware

Summary: Ref T7149. This makes the client try to use the new `file.allocate` API before falling back to the old stuff.

Test Plan: Used `arc upload` to upload files. With chunking forced, uploaded chunked files.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: joshuaspence, epriestley

Maniphest Tasks: T7149

Differential Revision: https://secure.phabricator.com/D12061
src/workflow/ArcanistUploadWorkflow.php