Page MenuHomePhabricator

arc patch fails to properly apply a patch which changes a symlink to a real file
Open, NormalPublic

Assigned To
Authored By
epriestley
Mar 20 2012, 2:23 AM
Referenced Files
None
Tokens
"Like" token, awarded by Pawka."Love" token, awarded by naphat."Like" token, awarded by alexmv."Like" token, awarded by kylec."Like" token, awarded by dgoldstein.

Description

Example: D1939

See PHI1999, where another install reports encountering this.

Event Timeline

epriestley added a project: Arcanist.
epriestley added a subscriber: epriestley.
epriestley raised the priority of this task from Low to Normal.Aug 19 2014, 10:50 PM
epriestley added a subscriber: zeeg.

Had a user actually hit this.

I have half a patch for this but it's crazily complicated because of how symlink changes are represented (multiple patch sections, with multiple representations).

Temporary workaround to get a change like this into a client:

  • 'download raw diff' from a Differential page
  • patch -p1 --forward < ~/D123456.diff.txt