Skip to content

dvc get from dvc-branch in not dvc-repo #2848

@dmpetrov

Description

@dmpetrov
$ dvc -V
0.70.0+38be14

master branch in https://github.com/dmpetrov/test_repo is NOT a DVC-repo. However, the extracted branch b-test IS DVC-repo and should work:

$ dvc get https://github.com/dmpetrov/test_repo --rev  b-test b-file
ERROR: failed to get 'b-file' from 'https://github.com/dmpetrov/test_repo' - URL 'https://github.com/dmpetrov/test_repo' is not a dvc repository.

This a regression since this command worked before: dvc get https://github.com/topusOctopus/mmdetection/ --rev fasterRCNN_resnet50_support model_weights/faster_rcnn_r50_c4_2x-6e4fdf4f.pth

Metadata

Metadata

Assignees

Labels

bugDid we break something?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions