Skip to content

list: behavior in no-scm projects #3417

@pared

Description

@pared

Upon running:
dvc list .
inside my home directory, I get following output:

ERROR: failed to list '.' - Failed to clone repo '.' to '/tmp/tmpwy4abbuldvc-clone': Cmd('git') failed due to: exit code(128)
  cmdline: git clone --no-single-branch -v . /tmp/tmpwy4abbuldvc-clone
  stderr: 'fatal: repository '.' does not exist
'

Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!

Shouldn't this message be simpler, like . is not an Git nor DVC repositroy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhances DVCp2-mediumMedium priority, should be done, but less importantquestionI have a question?uiuser interface / interaction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions