We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03cce7c commit 3a37fe7Copy full SHA for 3a37fe7
packages/browseros/build/modules/apply/common.py
@@ -63,6 +63,12 @@ def apply_single_patch(
63
if file_exists_in_commit(file_path, reset_to, chromium_src):
64
log_info(f" Resetting to {reset_to[:8]}: {file_path}")
65
reset_file_to_commit(file_path, reset_to, chromium_src)
66
+ else:
67
+ # File doesn't exist in target commit - delete it so patch can create fresh
68
+ target_file = chromium_src / file_path
69
+ if target_file.exists():
70
+ log_info(f" Deleting (not in {reset_to[:8]}): {file_path}")
71
+ target_file.unlink()
72
73
if dry_run:
74
# Just check if patch would apply
0 commit comments