]> khamidou — GitHub mirrors - arcanist.git/commit
Use file.allocate to upload large files from `arc diff`
authorepriestley <git@epriestley.com>
Wed, 27 May 2015 17:26:12 +0000 (10:26 -0700)
committerepriestley <git@epriestley.com>
Wed, 27 May 2015 17:26:12 +0000 (10:26 -0700)
commit5c7b22e620f891e61af15175284ab8f8f8c680e8
treebe569e3e4a2a698769f6734342a6180e739445a5
parent877e7b63884d69745fcc1e695fdf1b86ccb2d7a4
Use file.allocate to upload large files from `arc diff`

Summary: Fixes T8259. Depends on D13016. Use modern logic to support large file uploads.

Test Plan:
  - Diffed with some images, saw them show up in the diff.
  - Diffed with a 12MB binary, saw it upload in chunks.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8259

Differential Revision: https://secure.phabricator.com/D13017
src/upload/ArcanistFileUploader.php
src/workflow/ArcanistDiffWorkflow.php