mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
129d51fa09
Summary: If the commit does not exist locally, aborting still leaves the user checked out on the branch. In nearly all cases, all that is necessary is a fetch -- but the branch must also be cleaned up. This leads to the pattern of: ``` arc patch D12345 [...base commit does not exist...] ^C git checkout master git branch -D arcpatch-D12345 git fetch arc patch D12345 ``` Solve this common problem by simply trying to fetch once if the commit does not exist locally. Test Plan: Ran `arc patch` on a recent diff. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D17949 |
||
---|---|---|
.. | ||
exception | ||
ArcanistAliasWorkflow.php | ||
ArcanistAmendWorkflow.php | ||
ArcanistAnoidWorkflow.php | ||
ArcanistBackoutWorkflow.php | ||
ArcanistBookmarkWorkflow.php | ||
ArcanistBranchWorkflow.php | ||
ArcanistBrowseWorkflow.php | ||
ArcanistCallConduitWorkflow.php | ||
ArcanistCloseRevisionWorkflow.php | ||
ArcanistCloseWorkflow.php | ||
ArcanistCommitWorkflow.php | ||
ArcanistCoverWorkflow.php | ||
ArcanistDiffWorkflow.php | ||
ArcanistDownloadWorkflow.php | ||
ArcanistExportWorkflow.php | ||
ArcanistFeatureWorkflow.php | ||
ArcanistFlagWorkflow.php | ||
ArcanistGetConfigWorkflow.php | ||
ArcanistHelpWorkflow.php | ||
ArcanistInstallCertificateWorkflow.php | ||
ArcanistLandWorkflow.php | ||
ArcanistLiberateWorkflow.php | ||
ArcanistLintersWorkflow.php | ||
ArcanistLintWorkflow.php | ||
ArcanistListWorkflow.php | ||
ArcanistPasteWorkflow.php | ||
ArcanistPatchWorkflow.php | ||
ArcanistPhrequentWorkflow.php | ||
ArcanistRevertWorkflow.php | ||
ArcanistSetConfigWorkflow.php | ||
ArcanistShellCompleteWorkflow.php | ||
ArcanistStartWorkflow.php | ||
ArcanistStopWorkflow.php | ||
ArcanistTasksWorkflow.php | ||
ArcanistTimeWorkflow.php | ||
ArcanistTodoWorkflow.php | ||
ArcanistUnitWorkflow.php | ||
ArcanistUpgradeWorkflow.php | ||
ArcanistUploadWorkflow.php | ||
ArcanistVersionWorkflow.php | ||
ArcanistWhichWorkflow.php | ||
ArcanistWorkflow.php |