mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
RepoTree: preserve relative paths in copytree() (#4133)
This commit is contained in:
@@ -55,7 +55,9 @@ def test_get_git_dir(tmp_dir, erepo):
|
||||
src = "some_directory"
|
||||
dst = "some_directory_imported"
|
||||
|
||||
erepo.scm_gen({src: {"file.txt": "hello"}}, commit="add a regular dir")
|
||||
erepo.scm_gen(
|
||||
{src: {"dir": {"file.txt": "hello"}}}, commit="add a regular dir"
|
||||
)
|
||||
|
||||
Repo.get(os.fspath(erepo), src, dst)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user