Page MenuHomePhabricator

Refine "arc land" behavior when pushing "onto" a new branch
ClosedPublic

Authored by epriestley on Jun 8 2020, 11:56 PM.
Tags
None
Referenced Files
F18198673: D21341.diff
Mon, Aug 18, 1:09 AM
F18101178: D21341.id.diff
Sat, Aug 9, 12:21 PM
F18093369: D21341.id50805.diff
Thu, Aug 7, 5:51 PM
F18087896: D21341.id50805.diff
Wed, Aug 6, 6:04 AM
F18084916: D21341.diff
Tue, Aug 5, 6:46 PM
F18084684: D21341.id50804.diff
Tue, Aug 5, 4:48 PM
F18059364: D21341.id.diff
Mon, Aug 4, 10:58 AM
F18042507: D21341.diff
Sun, Aug 3, 5:02 AM
Subscribers
None

Details

Summary

Ref T13546. If the "onto" branch doesn't exist yet and has a "/" in it, we need to preface it with "refs/heads" explicitly.

Fix a "false/null" issue with argument validation.

Possibly, "arc land" should prompt you before creating branches in the remote.

Test Plan

Ran "arc land --onto does-not-exist/1.1" and created a branch.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jun 8 2020, 11:56 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.