mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 18:22:41 +01:00
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
This commit is contained in:
parent
30e12a0c9a
commit
b6e83c7b35
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ EOTEXT
|
||||||
|
|
||||||
$commit_message = $this->getCommitMessage($bundle);
|
$commit_message = $this->getCommitMessage($bundle);
|
||||||
$future = $repository_api->execFutureLocal(
|
$future = $repository_api->execFutureLocal(
|
||||||
'commit -A %C -l -',
|
'commit %C -l -',
|
||||||
$author_cmd);
|
$author_cmd);
|
||||||
$future->write($commit_message);
|
$future->write($commit_message);
|
||||||
$future->resolvex();
|
$future->resolvex();
|
||||||
|
|
Loading…
Reference in a new issue