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.
Description
Description
Revisions and Commits
Revisions and Commits
| Restricted Diffusion Commit |
Related Objects
Related Objects
- Mentioned In
- T11710: Arc applying patches on the wrong repository
Event Timeline
Comment Actions
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.