]> khamidou — GitHub mirrors - arcanist.git/commit
Properly handle file moves in `arc patch` under SVN
authorvrana <jakubv@fb.com>
Wed, 19 Sep 2012 22:59:39 +0000 (15:59 -0700)
committervrana <jakubv@fb.com>
Fri, 21 Sep 2012 18:22:05 +0000 (11:22 -0700)
commit6bd2b372f56d8fa2350950d06ea8eefb4d441ad8
tree9dd1e6d75281b916ef30b76fb1f44b21acc10c85
parent6929f4e57e7a641d00caf8bf511bbd97d7e8a051
Properly handle file moves in `arc patch` under SVN

Summary:
If the file has no changes (probably because it has been moved or copied) then we fail.

Fixes T1708, fixes T1559.

Test Plan:
  $ svn mv a b
  $ arc diff --only
  $ svn revert a b
  $ arc patch --diff # of created diff

Reviewers: epriestley, btrahan

Reviewed By: btrahan

CC: aran, Korvin
Maniphest Tasks: T1559, T1708

Differential Revision: https://secure.phabricator.com/D3526
src/parser/ArcanistBundle.php
src/workflow/ArcanistPatchWorkflow.php