-
Notifications
You must be signed in to change notification settings - Fork 2
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
Failing test: No Base image rename in Git commit after renaming Gold image #122
Comments
It seems that it's the expected behaviour: We commit with a rename case:
But internally, the rename is committed as an add and remove git commands. But I do not understand why the test is failing now, and it was not failing before. If I'm not wrong, we agree @da2ce7 @yeraydavidrodriguez to implement it this way. I mean a "rename" in DVC is mapped to a add/remove git commands, but I do not see the issue/comment where we were discussing that topic. I will continue researching.
|
The test
given_a_dvc_diff_object_with_a_renamed_gold_image_it_should_commit_the_renamed_base_image_to_git is failing:
When you rename a Gold image, the final Git commit should include a rename for the Base image, but it includes a deletion and insertion.
The test passes with the following change, meaning the Base image commit does not rename the file. It deletes the old one and inserts the new one.
Git Diff (32 = Gold Image; 54 = Base Image):
More info: https://dvc.org/doc/command-reference/diff#example-renamed-files
Originally posted by @josecelano in #118 (comment)
The text was updated successfully, but these errors were encountered: