Skip to content

get: relpath in error message for inexistent path is not niceΒ #2430

@jorgeorpinel

Description

@jorgeorpinel

UPDATE: See #2430 (comment)


Example:

$ dvc get https://github.com/iterative/dvc.org \
          I-dont-exist.zip
ERROR: failed to get ' ' from 'https://github.com/iterative/dvc.org' - you are not
inside of a dvc repository (checked up to mount point '/')
...

Note that https://github.com/iterative/dvc.org is NOT a DVC project.

First of all, the command takes a long time to error out.

Also, you are not inside of a dvc repository? I thought dvc get "doesn't require an existing DVC project to run in", at least according to our docs (which I wrote πŸ˜‹).

DVC version: 0.57.0
Python version: 3.7.3
Platform: Darwin-18.7.0-x86_64-i386-64bit
Binary: False
Filesystem type (workspace): ('apfs', '/dev/disk1s1')

Maybe related to #2309

Metadata

Metadata

Assignees

Labels

bugDid we break something?good first issuep1-importantImportant, aka current backlog of things to douiuser interface / interaction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions