Skip to content

metrics diff: cryptic error in --no-scm projects [qa] #3605

@jorgeorpinel

Description

@jorgeorpinel
λ dvc version
DVC version: 0.92.0
Python version: 3.7.5
Platform: Windows-10-10.0.18362-SP0
Binary: True
Package: exe

λ dvc metrics diff
ERROR: unexpected error - 'NoSCM' object has no attribute 'resolve_rev'

Run in a --no-scm DVC project. Compare to dvc diff:

λ dvc diff
ERROR: failed to get diff - only supported for Git repositories

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDid we break something?enhancementEnhances DVCp2-mediumMedium priority, should be done, but less importantuiuser interface / interaction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions