exp apply
: unable to apply an experiment when there are unsaved changes in the workspace
#9991
Labels
A: experiments
Related to dvc exp
Bug Report
Description
I am unable to apply an experiment when there are "unsaved changed" in the workspace.
Reproduce
Run an experiment which creates "unsaved changes" in the workspace. Try to apply a different experiment. No combination of flags will enable you to do this before running
dvc checkout exp --force
.Expected
--force
should work as expected.Environment information
Output of
dvc doctor
:Additional Information (if any):
Seems like this is happening because
--force
is not being passed todvc_checkout
further down the chain. I raised a PR (#9992) to close this issue please LMK if that was not the correct approach.The text was updated successfully, but these errors were encountered: