First off, I saw it coming, had my stuff backed up etc, so no harm done.
I was trying to test out dvc get to pull models from a different project and the cache must not have been present in the remote:
models/mlr/production is defined as the output of a dvc file.
$ dvc get <internal_repo> models/mlr/production/ --rev <name of branch>
WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:
name: models/mlr/production, md5: ebbb5c351028a6e5485dfdec639fbb57.dir
Missing cache for directory '../../../tmp/tmp5jtl3fccdvc-erepo/models/mlr/production'. Cache for files inside will be lost. Would you like to continue? Use '-f' to force. [y/n] y
WARNING: Some of the cache files do not exist neither locally nor on remote. Missing cache files:
name: models/mlr/production, md5: ebbb5c351028a6e5485dfdec639fbb57.dir
WARNING: Cache 'ebbb5c351028a6e5485dfdec639fbb57.dir' not found. File '.' won't be created.
file '.' is going to be removed. Are you sure you want to proceed? [y/n] y
ERROR: unexpected error - [Errno 2] No such file or directory
Once I saw the File '.' won't be created. file '.' is going to be removed. I knew what was going to happen, but was surprised that dvc lets you do that. (It wiped out my whole git repo ;))
DVC version 0.80.0,
Platform WSL
method of installation: pip
First off, I saw it coming, had my stuff backed up etc, so no harm done.
I was trying to test out dvc get to pull models from a different project and the cache must not have been present in the remote:
models/mlr/productionis defined as the output of a dvc file.Once I saw the
File '.' won't be created. file '.' is going to be removed.I knew what was going to happen, but was surprised that dvc lets you do that. (It wiped out my whole git repo ;))DVC version 0.80.0,
Platform WSL
method of installation: pip