Page MenuHomePhabricator

Improve initial arc land experience when destination repo is empty
Open, Needs TriagePublic


When a user clones an empty Diffusion repository, attempting to arc land the initial commit results in this mostly-unhelpful error:

[2017-06-27 19:10:22] EXCEPTION: (Exception) Branch "master" does not exist in remote "origin". at [<arcanist>/src/land/ArcanistGitLandEngine.php:101]

This requires the user to manually do a git push to get the ball rolling. It would be nice if arc land would detect that the repository is empty and offer to initialize it for the user, by pushing the current branch.