]> khamidou — GitHub mirrors - arcanist.git/commit
[svn] Fix removing a binary file without svn:mime-type set
authorNick Harper <nharper@fb.com>
Wed, 10 Apr 2013 22:22:58 +0000 (15:22 -0700)
committerNick Harper <nharper@fb.com>
Wed, 10 Apr 2013 22:22:58 +0000 (15:22 -0700)
commitb1fe436cfc23bb2fbea59bd5ea0098c1375c5353
tree4e293a8a89aaeccefa54675cf09bfb9af338c495
parent7c220175623b76175e214c8a17dbbe0387f78c77
[svn] Fix removing a binary file without svn:mime-type set

Summary:
If we're removing a binary file that didn't have svn:mime-type set properly,
we can't propset it (because the file doesn't exist locally). Instead, just
return a synthetic diff for the removed file.

Test Plan:
run arc diff in an svn working copy where I ran svn rm on a binary file that
doesn't have svn:mime-type set, and the diff correctly gets uploaded to
phabricator instead of erroring when trying to set properties.

Reviewers: epriestley, wez

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5655
src/repository/api/ArcanistSubversionAPI.php