HomePhabricator

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

Description

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

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.

Maniphest Tasks: T13546

Differential Revision: https://secure.phabricator.com/D21341

Details

Provenance
epriestleyAuthored on Jun 8 2020, 11:52 PM
Parents
rARCab70626c1226: Support "arc land --pick" to pick specific changes out of a sequence
Branches
Unknown
Tags
Unknown
Tasks
T13546: Provide a link to the help page from redirects
ChangeId
None