Fixes T7113. This one was a bit trickier than others as the API output changed a bit. In particular, there is no "errors" emitted so much as the result set just doesn't include the answer if things are garbage. Ergo, check the "identifier map" to either check for diff existence or to lookup the phid to grab the actual diff data from the "data" part of the result.
Details
Details
called arc backout D11665 and got some working output...!
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- T7113
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 4307 Build 4320: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
src/workflow/ArcanistWorkflow.php | ||
---|---|---|
1015–1016 | The old version of this was totally unreadable and neither of us caught it, but this actually inverted the logic. The intent here is to return false ("do not amend") if the commit is known. That is: do not amend published commits. This will be fixed in a second (with the fix for T7344). |