Page MenuHomePhabricator

`arc patch --force` refuses to overwrite existing file
Open, Needs TriagePublic

Description

Example:

$ arc patch --force D104
Created and checked out branch arcpatch-D104.
Downloading binary data for 'fail.png'...
Checking patch Tests/ClientTests/fail.png...
error: Tests/ClientTests/fail.png: already exists in working directory

 Patch Failed! 
Usage Exception: Unable to apply patch!

Seems to me that --force should be a little more forceful in this case, no?

Event Timeline

staticshock raised the priority of this task from to Needs Triage.
staticshock updated the task description. (Show Details)
staticshock added a project: Arcanist.
staticshock added a subscriber: staticshock.