]> khamidou — GitHub mirrors - arcanist.git/commit
Fix 'arc patch' when adding files in new directories
authorepriestley <epriestley@javelinjs.com>
Tue, 8 Mar 2011 04:21:16 +0000 (20:21 -0800)
committerepriestley <epriestley@javelinjs.com>
Tue, 8 Mar 2011 06:09:02 +0000 (22:09 -0800)
commit02627b17622d42187195fb912fc2bf905e0036d9
treeaf9bd867f81bb69ef491a22e8281e177971faf44
parent61e16d9cc3590cb7f9eb262ca302290b6aafd8be
Fix 'arc patch' when adding files in new directories

Summary:
If you apply an arcbundle to a subversion working copy which adds
files in new subdirectories, we fail to create and add the parent directories
so the whole operation fails. Make sure we create and add any missing parent
directories before apply patches.

Test Plan:
Applied Facebook diff #542056 to www@rE349795 cleanly, while it
failed previously.

Reviewed By: aran
Reviewers: aran
CC: aran
Differential Revision: 62
src/workflow/patch/ArcanistPatchWorkflow.php