mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-27 07:18:28 +01:00
get/import: more meaningful message on NoRemoteError
This commit is contained in:
@@ -328,3 +328,10 @@ class CheckoutError(DvcException):
|
||||
|
||||
class CollectCacheError(DvcException):
|
||||
pass
|
||||
|
||||
|
||||
class RemoteNotSpecifiedInTargetRepoError(DvcException):
|
||||
def __init__(self, url):
|
||||
super(RemoteNotSpecifiedInTargetRepoError, self).__init__(
|
||||
"No DVC remote is specified in target repository '{}'".format(url)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user