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
Unknown Object (File)
Tue, Apr 16, 6:52 AM
Unknown Object (File)
Thu, Apr 11, 7:46 AM
Unknown Object (File)
Mon, Apr 1, 3:54 PM
Unknown Object (File)
Jan 27 2024, 10:59 AM
Unknown Object (File)
Jan 11 2024, 12:35 AM
Unknown Object (File)
Dec 22 2023, 8:38 PM
Unknown Object (File)
Dec 20 2023, 11:35 PM
Unknown Object (File)
Dec 19 2023, 9:54 PM
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.