Page MenuHomePhabricator

`arc patch` applies diffs from another repository
Open, Needs TriagePublic

Description

After D12901, arc patch will no longer produce a friendly error message when attempting to patch a diff from another repository. Similarly for arc export after D12962.

Revisions and Commits

Event Timeline

joshuaspence claimed this task.
joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Arcanist.
joshuaspence added a subscriber: joshuaspence.

In the specific bad case in D12962 (applying a dependency that should not be applied), we can just check that the two revisions have the same repository.

We can also check that the locally-detected repository is the same as the revision repository. If the data is missing for either source we might not be able to raise an error, but it will usually be present and should be conclusive if it differs.