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

dvc diff calls a file change "added file" (with negative size) #1893

Closed
jorgeorpinel opened this issue Apr 15, 2019 · 2 comments
Closed

dvc diff calls a file change "added file" (with negative size) #1893

jorgeorpinel opened this issue Apr 15, 2019 · 2 comments
Labels
bug Did we break something? p2-medium Medium priority, should be done, but less important

Comments

@jorgeorpinel
Copy link
Contributor

jorgeorpinel commented Apr 15, 2019

Please provide information about your setup
DVC version 0.35.7 installed with Homebrew on macOS v. 10.14.4

To reproduce

git clone https://github.com/iterative/example-get-started
cd example-get-started
dvc fetch -T
dvc diff -t model.pkl baseline-experiment bigrams-experiment

Problem
The output of the last command above is

dvc diff from bc1722d7eeb4cba9a5c8e401199e995739c474a9 to 8c1169d1819c5cf0a4e2aa7e7d8c43854563b251

diff for 'model.pkl'
-model.pkl with md5 a66489653d1b6a8ba989799367b32c43
+model.pkl with md5 3863d0e317dee0a55c4e59d2ec0eef33

added file with size -202464 Bytes

Why "added file" ? The model.pkl file changed.

@jorgeorpinel
Copy link
Contributor Author

May be related to #1874

@jorgeorpinel jorgeorpinel changed the title dvc diff calls a file change "added file". dvc diff calls a file change "added file" (with negative size). May 16, 2019
@jorgeorpinel jorgeorpinel changed the title dvc diff calls a file change "added file" (with negative size). dvc diff calls a file change "added file" (with negative size) May 16, 2019
@jorgeorpinel
Copy link
Contributor Author

This is the first issue I ever opened, some time ago @shcheklein. What labels should it have? Thanks 😃

@efiop efiop added bug Did we break something? p2-medium Medium priority, should be done, but less important labels May 16, 2019
@ghost ghost self-assigned this Jan 27, 2020
@efiop efiop closed this as completed Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Did we break something? p2-medium Medium priority, should be done, but less important
Projects
None yet
Development

No branches or pull requests

2 participants