Page MenuHomePhabricator

When `arc` pushes to the staging area, tell Phabricator what we did
ClosedPublic

Authored by epriestley on Mar 7 2016, 3:15 PM.
Tags
None
Referenced Files
F18751803: D15426.id37185.diff
Sat, Oct 4, 12:43 PM
F18713108: D15426.id.diff
Mon, Sep 29, 5:37 AM
F18702310: D15426.id37184.diff
Sat, Sep 27, 11:36 PM
F18671550: D15426.diff
Thu, Sep 25, 4:17 AM
F18507307: D15426.id.diff
Sep 5 2025, 2:05 AM
F18463211: D15426.id.diff
Sep 2 2025, 12:28 AM
F18439618: D15426.diff
Aug 31 2025, 3:11 PM
F18115462: D15426.id37185.diff
Aug 13 2025, 6:47 AM
Subscribers
None
Tokens
"Like" token, awarded by avivey.

Details

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.

Screen Shot 2016-03-07 at 7.12.44 AM.png (545×1 px, 129 KB)

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When `arc` pushes to the staging area, tell Phabricator what we did.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 7 2016, 3:21 PM
This revision was automatically updated to reflect the committed changes.