mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 23:09:44 +01:00
fix: #7329 In a previous PR, we introduce a bug which use `HEAD` as the workspace commit, while if there is a checkpoint is running, the `HEAD` is actually changing all the time, we should use `refs/exps/exec/EXEC_BASELINE` instead. 1. add `fix_exp_head` transfer in `dvc/scm.py::resolve_rev` 2. remove fix_exp_head from `diff`, `metrics diff`, `params diff` and `plots diff` 3. modify a functional test to simulate the running conditions