]> khamidou — GitHub mirrors - arcanist.git/commit
When `arc` pushes to the staging area, tell Phabricator what we did
authorepriestley <git@epriestley.com>
Mon, 7 Mar 2016 15:13:11 +0000 (07:13 -0800)
committerepriestley <git@epriestley.com>
Mon, 7 Mar 2016 15:24:16 +0000 (07:24 -0800)
commitccbaee585e1a350d1ff970c30481079dc8471a7c
treee56c20bd0244e0625c3af2b2ffa10691b75df508
parent4a1160e0c3a2fdc6f5e5638c67e6ca8bf65b5da4
When `arc` pushes to the staging area, tell Phabricator what we did

Summary:
Ref T10093. Right now, Phabricator kind of guesses that `arc` probably pushed stuff to the staging area.

This can cause confusing/misleading errors later, if it didn't actually push.

Instead, tell Phabricator that we pushed, so we can raise more tailored messages in the web UI (e.g., make "Land Revision" say "this wasn't pushed to the staging area" instead of "whoops, error!!~").

Test Plan:
Ran `arc diff` a few times, then looked in the database for properties.

{F1161655}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10093

Differential Revision: https://secure.phabricator.com/D15426
src/workflow/ArcanistDiffWorkflow.php