Local remote on windows with external data source

Hi,
I’m new to dvc and I’m currently testing some stuff, so please be nice, I tried my very best to research the documentation and I know that what I’ve tested might not be the most common use case, but anyway.

Basic idea is that I want to copy stuff from a data source to a local remote and then pull it afterwards using dvc import-url <...> --to-remote and then dvc pull.

Steps to reproduce

  • Work on Windows (tested on Windows 10)
  • Create a folder with 3 subfolders:
    • repo
    • local_remote
    • data
  • Copy a file to data
  • Initialize an empty git repo in the repo folder
  • Initialize dvc (run dvc init) in the repo folder
  • Add the local_remote as a remote to dvc (dvc remote add -d local_remote C:\<...>\local_remote)
  • Run dvc import-url --to-remote ../data
  • Run dvc pull

Expected behaviour

  • In the repo folder there should be a subfolder called data with the file that is also in the data source

Actual behaviour

  • In the repo folder there is a data subfolder but it is empty

Notes

  • dvc import-url seems to work (The files are created in the local_remote folder)
  • The data.dvc file looks correct (it indicates there is a file on the remote: nfiles > 0)
  • dvc pull does pull all the files from remote to the ..dvc\cache folder
  • The data subfolder is created (as i said), however it is empty
  • The same procedure works perfectly fine when I use wsl

So i guess it’s not a super important issue but I was wondering what could be the reason for this behaviour.