]> khamidou — GitHub mirrors - arcanist.git/commit
Improve `arc` handling of various binary file operations in Git
authorepriestley <git@epriestley.com>
Fri, 19 Oct 2012 17:10:25 +0000 (10:10 -0700)
committerepriestley <git@epriestley.com>
Fri, 19 Oct 2012 17:10:25 +0000 (10:10 -0700)
commitffac8d5c4c12117c2c1ed103677e3c51be2f6a98
treea8be43c8e3ebc07b1f3d5b0e69f34a88ecea3201
parent4c476c0201d3e9d9fbb4254028cb06c817ca3c22
Improve `arc` handling of various binary file operations in Git

Summary:
See T866, D3521. Additional things this fixes:

  - `arc export` now exports binary data correctly.
  - `ArcanistBundle` unit tests now load and apply binary data correctly.
  - `arc patch` no longer relies on `base` configuration.
  - Adds tests to the tarball:

  commit df340e88d8aba12e8f2b8827f01f0cd9f35eb758
  Author: epriestley <git@epriestley.com>
  Date:   Wed Oct 17 15:46:11 2012 -0700

      Remove binary image.

  commit 3f5c6d735e64c25a04f83be48ef184b25b5282f0
  Author: epriestley <git@epriestley.com>
  Date:   Wed Oct 17 15:45:58 2012 -0700

      Copy binary image.

  commit b454edb3bb29890ee5b3af5ef66ce6a24d15d882
  Author: epriestley <git@epriestley.com>
  Date:   Wed Oct 17 15:45:35 2012 -0700

      Move binary image.

  commit 5de5f3dfda1b7db2eb054e57699f05aaf1f4483e
  Author: epriestley <git@epriestley.com>
  Date:   Wed Oct 17 15:45:09 2012 -0700

      Add a binary image.

Test Plan: Ran unit tests, `arc patch`, `arc export`, `arc diff`, `arc upgrade`.

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T866

Differential Revision: https://secure.phabricator.com/D3732
13 files changed:
src/parser/ArcanistBundle.php
src/parser/ArcanistDiffParser.php
src/parser/__tests__/ArcanistBundleTestCase.php
src/parser/__tests__/bundle.git.tgz
src/parser/diff/ArcanistDiffChange.php
src/repository/api/ArcanistGitAPI.php
src/repository/api/ArcanistMercurialAPI.php
src/repository/api/ArcanistRepositoryAPI.php
src/workflow/ArcanistAmendWorkflow.php
src/workflow/ArcanistDiffWorkflow.php
src/workflow/ArcanistExportWorkflow.php
src/workflow/ArcanistPatchWorkflow.php
src/workflow/ArcanistUpgradeWorkflow.php