Page MenuHomePhabricator

Arcanist: Add a command to check whether the current workspace state matches the latest uploaded Revision
Closed, WontfixPublic

Description

We associate test code deployments with a Revision so that others can easily and transparently see what code is running in production. However, currently there's no way to easily check if the Revision is up to date.

It would be great to have an Arcanist command to verify that the workspace under the current branch matches the latest uploaded Revision associated with that branch. In other words, the command should return whether running arc diff --update would cause any changes to the existing revision.

Event Timeline

leonpalm raised the priority of this task from to Needs Triage.
leonpalm updated the task description. (Show Details)
leonpalm added a project: Arcanist.
leonpalm added a subscriber: leonpalm.
eadler added a project: Restricted Project.Oct 29 2016, 7:45 AM
epriestley claimed this task.

See also T4953. I don't really understand this use case and suspect Harbormaster now solves it (when revisions are updated, run a build which deploys the changes to a sandbox). It sounds like the use case is really "would arc patch do anything?", not "would arc diff --update do anything?".