Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config: Cache dir is inconsistant on Unix and Windows #3664

Closed
charlesbaynham opened this issue Apr 22, 2020 · 0 comments · Fixed by #3665
Closed

Config: Cache dir is inconsistant on Unix and Windows #3664

charlesbaynham opened this issue Apr 22, 2020 · 0 comments · Fixed by #3665
Labels
enhancement Enhances DVC

Comments

@charlesbaynham
Copy link
Contributor

dvc version = 0.93.0
Platform = Ubuntu and Windows 10

On Windows, calling dvc cache dir ..\xyz results in an entry in .dvc/config like

[cache]
    dir = ..\..\xyz

On Linux it results in

[cache]
    dir = ../../xyz

This inconsistency results in noise in the git history when you work sometimes on Windows, sometimes on Linux.

Manually editing the file to a Posix-style path on Windows works fine.

@triage-new-issues triage-new-issues bot added the triage Needs to be triaged label Apr 22, 2020
@efiop efiop added the enhancement Enhances DVC label Apr 22, 2020
@triage-new-issues triage-new-issues bot removed the triage Needs to be triaged label Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhances DVC
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants