1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-10-24 09:38:50 +02:00
phorge-arcanist/src/workflow
epriestley f271e1d8e8 Improve 'arc' behavior under git mutable history with ambiguous commit messages
Summary:
Currently, we throw a fairly perplexing error when there are multiple valid
commit messages. Installs can also remove the "test plan" field entirely, which
is the only really strong discriminator here.

When the message to use is ambiguous, show the user all the valid messages and
prompt them to choose one.

Also add a -C flag like "git commit -C", so they can choose a message
explicitly.

Test Plan: Ran "arc diff HEAD^^^^^", "arc diff -C <rev>".

Reviewers: cpiro, btrahan, jungejason

Reviewed By: cpiro

CC: aran, cpiro

Differential Revision: https://secure.phabricator.com/D1385
2012-01-12 20:09:53 -08:00
..
amend Make --revision switch of amend workflow easier to use 2011-12-13 11:41:11 -08:00
base Arc - add a sanity check to arc patch workflows to make sure the vcs base 2012-01-10 11:48:05 -08:00
branch Fix "arc branch" to work if you are on "(no branch)" add revision IDs 2011-06-29 13:30:44 -07:00
call-conduit Move Conduit management into Workflow 2011-07-15 12:38:45 -07:00
commit Allow revision numbers prefixed with 'D' in arc commit --revision 2011-12-13 11:41:16 -08:00
cover Ignore non-plaintext changes in cover 2012-01-04 15:44:48 -08:00
diff Improve 'arc' behavior under git mutable history with ambiguous commit messages 2012-01-12 20:09:53 -08:00
download Provide "arc upload --json" 2011-08-01 17:44:43 -07:00
exception/notsupported Add an "arc merge" workflow 2011-09-15 07:42:45 -07:00
export Arc - add a sanity check to arc patch workflows to make sure the vcs base 2012-01-10 11:48:05 -08:00
git-hook-pre-receive Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
help 'arc liberate', convenience wrapper for various libphutil operations 2011-05-17 09:53:19 -07:00
install-certificate From Arcanist, send 'host' to server for validation on setup workflows 2011-07-05 10:10:28 -07:00
liberate Fix documentation: stop __init__ rendering in bold 2011-08-04 14:09:13 +01:00
lint Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
list Deprecate ArcanistBaseWorkflow::getUserGUID in favor of "PHID" 2011-07-15 12:52:17 -07:00
mark-committed Check that rev is accepted in arc mark-committed --finalize 2011-11-10 16:18:17 -08:00
merge Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
paste Provide "arc upload --json" 2011-08-01 17:44:43 -07:00
patch Arc - add a sanity check to arc patch workflows to make sure the vcs base 2012-01-10 11:48:05 -08:00
shell-complete Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
svn-hook-pre-commit Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
unit Unify arguments for 'arc lint', 'arc unit' 2012-01-10 10:42:22 -08:00
upload Provide "arc upload --json" 2011-08-01 17:44:43 -07:00