-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed checking out non-existent branch #557
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #557 +/- ##
==========================================
- Coverage 25.16% 25.06% -0.10%
==========================================
Files 18 18
Lines 2647 2657 +10
==========================================
Hits 666 666
- Misses 1981 1991 +10 ☔ View full report in Codecov by Sentry. |
Should only fail when the error stream contains an error message
I linked #539 since it was related and a quick addition to the current change. Now behavior is that checking out remote or local branches succeed unless they don't exist or you have uncommitted changes that will be deleted. In both cases the errors are fairly descriptive. |
Fixes #549, #539
@isc-tleavitt Right now this throws an error (so that user is aware that checkout failed). Is there a better way to show an alert on the management portal / vscode / studio? (This happens on "AfterUserAction" so we have no access to the "Target" functionality of %Studio.SourceControl.Base.