]> khamidou — GitHub mirrors - arcanist.git/commit
Check that rev is accepted in arc mark-committed --finalize
authorNick Harper <nharper@fb.com>
Fri, 11 Nov 2011 00:02:40 +0000 (16:02 -0800)
committerNick Harper <nharper@fb.com>
Fri, 11 Nov 2011 00:18:17 +0000 (16:18 -0800)
commit28eae6082139ccde5b2c98c9cf3fbda0059813e4
tree0cc2fe2598b7467f8d6e4879e4da8ec5390ed03e
parent8c70ee38775f562272f2078b153a620f85a8c78b
Check that rev is accepted in arc mark-committed --finalize

Summary:
If arc amend is run on a rev that isn't accepted, it runs arc mark-committed
--finalize. The rev shouldn't be marked as committed if it hasn't been accepted,
so this diff adds in that check.

Test Plan:
Ran arc amend on a rev that hasn't been accepted, checked that it didn't get
marked as completed.

Reviewers: jungejason, epriestley

Reviewed By: epriestley

CC: aran, epriestley, nh
Differential Revision: 1104
src/workflow/mark-committed/ArcanistMarkCommittedWorkflow.php