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

fix: allow multiple clobbers per package #526

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

wolfv
Copy link
Contributor

@wolfv wolfv commented Feb 12, 2024

There was a bug where we were writing the new prefix records too early. That made the clobbering resolution only work for the first clobbered file.

Before, other files are resolved and renamed properly, but this was not stored in the PrefixRecord. Subsequent operations were thus failing.

This modifies the PrefixRecord in memory and only writes the new data at the end of the unclobbering operation.

@wolfv wolfv force-pushed the fix-clobber-multiple-file branch from 3eab914 to a68e07e Compare February 12, 2024 15:48
@wolfv wolfv changed the title This change allows a package to be clobbered multiple times fix: allow multiple clobbers per package Feb 12, 2024
@baszalmstra baszalmstra merged commit e6c39f2 into conda:main Feb 12, 2024
13 checks passed
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