mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 15:28:28 +01:00
This reverts commit bfc0a3596f.
This commit is contained in:
@@ -21,7 +21,6 @@ logger = logging.getLogger(__name__)
|
||||
@staticmethod
|
||||
def get(url, path, out=None, rev=None):
|
||||
out = resolve_output(path, out)
|
||||
path = path.lstrip("/")
|
||||
|
||||
if Stage.is_valid_filename(out):
|
||||
raise GetDVCFileError()
|
||||
|
||||
@@ -2,6 +2,5 @@ def imp(self, url, path, out=None, rev=None):
|
||||
erepo = {"url": url}
|
||||
if rev is not None:
|
||||
erepo["rev"] = rev
|
||||
path = path.lstrip("/")
|
||||
|
||||
return self.imp_url(path, out=out, erepo=erepo, locked=True)
|
||||
|
||||
Reference in New Issue
Block a user