Skip to content

merge-driver: support removes and changes #8360

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

Merged
merged 1 commit into from
Sep 23, 2022
Merged

merge-driver: support removes and changes #8360

merged 1 commit into from
Sep 23, 2022

Conversation

dberenbaum
Copy link
Contributor

@dberenbaum dberenbaum commented Sep 23, 2022

Fixes #8233 #5151

This adds changes and deletions to the merge driver based on changes in iterative/dvc-data#160 and iterative/dvc-data#178.

There's still one scenario not covered here: where both branches deleted the same file. This is trickier to handle and not that common, so I left it out for now and raise an error stating that DVC is unable to merge where both are deleted.

Docs PR: iterative/dvc.org#3993

Copy link
Contributor

@efiop efiop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙏

@efiop efiop merged commit c039e9a into main Sep 23, 2022
@efiop efiop deleted the merge-driver branch September 23, 2022 20:22
@efiop efiop added the feature is a feature label Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto resolve merge conflicts in dvc metadata
2 participants