]> khamidou — GitHub mirrors - arcanist.git/commit
escape files properly in arc commit
authorBob Trahan <bob.trahan@gmail.com>
Wed, 31 Oct 2012 01:26:58 +0000 (18:26 -0700)
committerBob Trahan <bob.trahan@gmail.com>
Wed, 31 Oct 2012 01:26:58 +0000 (18:26 -0700)
commit522c35c1ed96b5f0d1f091f018ecd64220bd367f
treea7478470a8a9a69cea24887adc9c37339279ed63
parent44842aeb25f5b985df3bec5dbb13936a9e2572b8
escape files properly in arc commit

Summary: turns out retina has files like image.png and image@2x.png. The latter breaks since '@' is a special command telling svn to "look for image at revision 2x.png" -- nonsensical garbage. If we add it to the end every time this error goes way.

Test Plan: touch 2@2.png; svn add '2@2@'; arc diff; <fill out form, accept commit>; arc commit -- observe commit working

Reviewers: epriestley

Reviewed By: epriestley

CC: mbishopim3, aran, Korvin
Maniphest Tasks: T1999

Differential Revision: https://secure.phabricator.com/D3845
src/workflow/ArcanistCommitWorkflow.php