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

Add update.nopatch command #2990

Merged
merged 1 commit into from Mar 19, 2022
Merged

Add update.nopatch command #2990

merged 1 commit into from Mar 19, 2022

Conversation

runarorama
Copy link
Contributor

This adds a new command to UCM: update.nopatch, which performs an update without modifying any patches.

Overview

Sometimes you want to update a term you just added, or a term you don't want to patch for your downstream users, like docs and tests. Prior to this command, the workaround was to update .trash.patch and then delete the patch .trash.patch.

Implementation notes

This changes the PatchPath argument for the Update command to take a triple rather than a Maybe, adding a constructor NoPatch in addition to DefaultPatch and SomePatch which work as before.

@runarorama runarorama merged commit fad4c0d into trunk Mar 19, 2022
@runarorama runarorama deleted the topic/updateNoPatch branch March 19, 2022 17:47
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.

None yet

2 participants