Skip to content

get: get -o behavior should be consistent with import -o #4350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pmrowla opened this issue Aug 7, 2020 · 0 comments
Open

get: get -o behavior should be consistent with import -o #4350

pmrowla opened this issue Aug 7, 2020 · 0 comments
Labels
p3-nice-to-have It should be done this or next sprint

Comments

@pmrowla
Copy link
Contributor

pmrowla commented Aug 7, 2020

As noted in iterative/dvc.org#1668, get and import behave differently when using -o foo/bar.
import will fail if directory foo/ does not already exist, but get will create the directory.

dvc get should fail instead of using makedirs when foo/ does not exist to behave more consistently with other DVC commands.

@pmrowla pmrowla added enhancement Enhances DVC p3-nice-to-have It should be done this or next sprint labels Aug 7, 2020
@skshetry skshetry removed the enhancement Enhances DVC label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-nice-to-have It should be done this or next sprint
Projects
None yet
Development

No branches or pull requests

2 participants