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 2fd37a1728 Automatically detect when to mark revisions committed
Summary:
See D945. We have this kludgy "remote_hooks_installed" mess right now, but we
have enough information on the server nowadays to figure this out without it.

Also reduce code duplication by sharing the "mark-committed" workflow.

This causes "arc merge" to effect commit marks.

Test Plan:
In Git, Mercurial and SVN working copies ran like a million
amend/merge/commit/mark-committed commands with and without --finalize in
various states of revision completion.

This change is really hard to exhaustively test because of the number of
combinations of VCS, revision state, command, command flags, repository state
and tracking state. All the reasonable tests I could come up with worked
correctly, though.

Reviewers: Makinde, jungejason, nh, tuomaspelkonen, aran

Reviewed By: jungejason

CC: aran, jungejason

Differential Revision: 967
2011-09-27 11:06:02 -07:00
..
amend Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
base Support "immutable_history" doctrine in arc 2011-09-15 07:44:29 -07: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 Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07:00
cover Some documentation. 2011-02-19 11:36:08 -08:00
diff Support "immutable_history" doctrine in arc 2011-09-15 07:44:29 -07: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 Add basic binary file support to 'arc patch' 2011-05-22 06:58:16 -07: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 Move some VCS-specific logic into VCS APIs 2011-09-15 07:39:34 -07:00
list Deprecate ArcanistBaseWorkflow::getUserGUID in favor of "PHID" 2011-07-15 12:52:17 -07:00
mark-committed Automatically detect when to mark revisions committed 2011-09-27 11:06:02 -07: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 Restore "arc patch D12345" syntax 2011-05-06 12:40:16 -07:00
shell-complete Some documentation. 2011-02-19 11:36:08 -08:00
svn-hook-pre-commit Fix issue with svn-hook-pre-commit when resolving .arcconfig for nested 2011-03-05 00:49:52 -08:00
unit two small changes for "arc unit" post hook 2011-09-08 18:25:54 -07:00
upload Provide "arc upload --json" 2011-08-01 17:44:43 -07:00