Page MenuHomePhabricator

If possible, use "differential.revision.edit" in "arc diff"
ClosedPublic

Authored by epriestley on Oct 27 2017, 5:04 PM.
Tags
None
Referenced Files
F14042317: D18742.id44981.diff
Tue, Nov 12, 2:30 AM
F14040362: D18742.id.diff
Mon, Nov 11, 9:36 AM
F14039496: D18742.id.diff
Mon, Nov 11, 5:47 AM
F14038956: D18742.id44990.diff
Mon, Nov 11, 2:58 AM
F14037454: D18742.diff
Sun, Nov 10, 4:04 PM
F14036721: D18742.id44990.diff
Sun, Nov 10, 11:47 AM
F14036718: D18742.diff
Sun, Nov 10, 11:46 AM
F14036523: D18742.id.diff
Sun, Nov 10, 10:36 AM
Subscribers
None

Details

Summary

Depends on D18741. Switches to "differential.revision.edit" if we get a transaction list back from parsing (added by D18740).

This will allow us to use new transactions, notably "Hold as Draft" for "--draft".

Test Plan

Ran arc diff, got a revision via differential.revision.edit.

Diff Detail

Repository
rARC Arcanist
Branch
draft6
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/workflow/ArcanistDiffWorkflow.php:554XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 18761
Build 25283: Run Core Tests
Build 25282: arc lint + arc unit