Attempting to land-via-bot on a branch/commit with no revision results
in a not-useful error message. This patch ensures a comprehensible message is
provided instead.
Depends on D7959
Differential D7963
[land-bot] Give a reasonable error when a revision cannot be found jasonbcox on Oct 16 2020, 17:52. Authored by Tags None Subscribers None
Details
Attempting to land-via-bot on a branch/commit with no revision results Depends on D7959 On clean master, author a commit and then cherry-pick this patch. The following arc land-via-bot --preview HEAD~ arc land-via-bot --hold HEAD~ On clean master: git checkout <this-patch> arcanist/workflow/ArcanistLandBotWorkflow.php git commit -m "Test commit with no revision information" The following commands should give reasonable error messages: arc land-via-bot --preview arc land-via-bot --hold
Diff Detail
|