1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-25 10:08:50 +02:00
phorge-arcanist/src/workflow/diff
epriestley 506e795fda Add an "--auto" flag to arc diff to activate heuristics
Summary:
For some workflows (all Mercurial, all SVN, some git) I eventually want arc to
pick between "arc --create" and "arc --update" automatically.

"arc which" laid the groundwork for this. For now, implement it as an optional
flag because I think there are still some rough edges on this pathway (for
example, handling of commit messages when errors happen).

When 'arc diff --auto' is invoked, guess whether the user meant --create or
--update.

Test Plan: Created this revision with 'arc diff --auto'.

Reviewers: Makinde, btrahan

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T614

Differential Revision: https://secure.phabricator.com/D1648
2012-02-20 12:51:01 -08:00
..
__init__.php Add an experimental "--create" flag to "arc diff" 2011-12-03 09:57:09 -08:00
ArcanistDiffWorkflow.php Add an "--auto" flag to arc diff to activate heuristics 2012-02-20 12:51:01 -08:00