Don't remove workspace directory when `--no-checkout` option is given
-
Don't remove workspace directory when
--no-checkoutoption is givenWhen
--no-checkoutflag is used, BuildStream assumes that the target destination already contain the sources (potentially edited already). Hence BuildStream must not remove its contents.Fixes #1086 (closed).
Also, fix a minor typo in the file that probably doesn't need a commit of its own.
-
tests: Add regression test for issue #1086 (closed)
Ensure that any changes made by user in an open workspace are not overridden when calling
bst workspace openagain with--forceand--no-checkoutoptions.