]> khamidou — GitHub mirrors - arcanist.git/commit
Fix various SVN escaping issues in arc patch
authorepriestley <git@epriestley.com>
Fri, 15 Feb 2013 22:53:25 +0000 (14:53 -0800)
committerepriestley <git@epriestley.com>
Fri, 15 Feb 2013 22:53:25 +0000 (14:53 -0800)
commit0f57b8d2dec6c2c458bd7c35c05fe7433928dec9
treeb95b740b3f8a3ee30470bb38b292b6aeec2cb24f
parentcd50b0884e9e6faa280b554e3501cf99ca27674f
Fix various SVN escaping issues in arc patch

Summary: Followup to D4703. When we give paths to `svn`, we need to escape them if they contain an `@`.

Test Plan:
Created a patch full of modifications to files with `@` in their names, and applied it:

  $ arc patch --diff 192
  A         A@2xcopy2
  A         A@2xcopy
  D         A@2x
   OKAY  Successfully applied patch to the working copy.

Reviewers: chad, mbishopim3

Reviewed By: chad

CC: aran
Differential Revision: https://secure.phabricator.com/D4977
src/repository/api/ArcanistSubversionAPI.php
src/workflow/ArcanistPatchWorkflow.php