mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
exp apply: use force dvc-checkout by default
This commit is contained in:
committed by
Peter Rowlands (변기호)
parent
d9b2e67a0b
commit
0bfce0b643
@@ -50,6 +50,7 @@ def apply(repo: "Repo", rev: str, **kwargs): # noqa: C901
|
||||
raise InvalidExpRevError(rev) from exc
|
||||
|
||||
_apply(repo, exp_rev, name=rev, is_stash=is_stash)
|
||||
kwargs["force"] = True
|
||||
dvc_checkout(repo, **kwargs)
|
||||
|
||||
repo.scm.set_ref(EXEC_APPLY, exp_rev)
|
||||
|
||||
Reference in New Issue
Block a user