]> khamidou — GitHub mirrors - arcanist.git/commit
Fix another SVN issue with "@" files
authorepriestley <git@epriestley.com>
Mon, 18 Feb 2013 16:24:47 +0000 (08:24 -0800)
committerepriestley <git@epriestley.com>
Mon, 18 Feb 2013 16:24:47 +0000 (08:24 -0800)
commit1e612eebc39c5eda972822b52cae3e663b146623
tree7234f60d775a65c40a8834868b68450739b91254
parent8692587921f7debba5f3fb2edac73eeabf9f93c3
Fix another SVN issue with "@" files

Summary: This chunk of code is kind of iffy and not really correct, but make it not fail, at least.

Test Plan:
  - Added a file named `swamp@2x.jpg` to a working copy.
  - Used `svn propedit svn:mime-type swamp@2x.jpg@` to incorrectly set its mime type to `text/plain`.
  - Ran `arc diff`.
  - Saw `arc diff` "correctly" change its mime-type to a binary mime type. This isn't really correct, but doing it successfully is better than throwing an exception.

Reviewers: mbishopim3, chad

Reviewed By: mbishopim3

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