]> khamidou — GitHub mirrors - arcanist.git/commit
Fix arc patch adding unnecessary files for hg repos
authordurham <durham@fb.com>
Wed, 20 Mar 2013 21:40:28 +0000 (14:40 -0700)
committerdurham <durham@fb.com>
Wed, 20 Mar 2013 21:40:28 +0000 (14:40 -0700)
commitb6e83c7b3523fe62e7ff9c7622a4d6243571edd8
tree04dbb6ebce269370fb69cafb7e6e768bee6be1b8
parent30e12a0c9a2ea1a57a8ba8bcee8c951125c9f091
Fix arc patch adding unnecessary files for hg repos

Summary:
Arc patch was committing with -A (--addremove) which meant any random
files that were sitting around in the repo (like conflict .orig files) were
added to the commit.  The -A isn't even necessary since the hg import
adds and removes all the appropriate files for you.

Test Plan:
touch foo
arc patch --diff some-diff-id
Verified that foo was not added to the commit

Reviewers: epriestley, nh

Reviewed By: epriestley

CC: dschleimer, bos, sid0, aran, Korvin
Differential Revision: https://secure.phabricator.com/D5396
src/workflow/ArcanistPatchWorkflow.php