Page MenuHomePhabricator

Move and update dog
AbandonedPublic

Authored by avivey on Jun 7 2016, 5:02 PM.
Tags
None
Referenced Files
F17846145: D16070.id38668.diff
Sun, Jul 27, 4:28 AM
F17843273: D16070.id.diff
Sun, Jul 27, 12:43 AM
F17818111: D16070.id38668.diff
Sat, Jul 26, 12:07 AM
Unknown Object (File)
Jun 17 2025, 8:54 AM
Unknown Object (File)
Jun 16 2025, 5:07 AM
Unknown Object (File)
May 27 2025, 11:13 AM
Unknown Object (File)
Apr 22 2025, 12:30 AM
Unknown Object (File)
Apr 16 2025, 7:35 AM
Subscribers

Details

Reviewers
None
Summary

arc-patch fails to apply patches that rename and modify a binary file.

I've created this by moving the image and editing it's exif, so git and arc consider this "rename + change" instead of "delete and add".

The same thing happens in reality when updating a jar to the next version.

Test Plan

trying to arc-patch this diff fails

Downloading binary data for 'roomba-dog.jpg'...
Checking patch roomba-dog.jpg => dogs/roomba-dog.jpg...
error: the patch applies to 'roomba-dog.jpg' (fb5c503f27d80b12f96c3d850a3f4622f8014599), which does not match the current contents.
error: roomba-dog.jpg: patch does not apply

Diff Detail

Repository
rGITTEST git-test
Branch
arcpatch_1
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12540
Build 15904: arc lint + arc unit