Skip to content

Conversation

@premun
Copy link
Member

@premun premun commented Jun 27, 2024

Fixes a problem found in dotnet/sdk#41793. The problem is that if SDK is the root repo where VMR patches are stored, and SDK gets pulled into the VMR, we must restore the previous versions of those VMR patches in the SDK before the new SDK changes were merged into the VMR.
This manifests in us trying to restore VMR patches that will only be added during the sync later.

The new code stops evaluating which VMR patches must be removed and strips all VMR patches always and then returns all back. So this simplifies the code a bit.

@premun premun changed the title Remove and re-apply all VMR patches always Restore and re-apply all VMR patches always Jun 27, 2024
@premun premun merged commit 50d348d into dotnet:main Jun 27, 2024
@premun premun deleted the prvysoky/fix-patch-adding branch June 27, 2024 17:27
@premun
Copy link
Member Author

premun commented Jun 28, 2024

Oh no, I merged the wrong PR 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants