Lines Matching full:patch
26 certain patch failures.
32 """The tested patch failed to apply."""
42 # Add argument for the LLVM version to use for patch management.
46 help="the LLVM svn version to use for patch management (determines "
47 "whether a patch is applicable). Required when not bisecting.",
50 # Add argument for the patch metadata file that is in $FILESDIR.
67 # Add argument for the mode of the patch manager when handling failing
73 help="the mode of the patch manager when handling failed patches "
79 help="The rel_patch_path of the patch we want to bisect the "
115 """Check that a given patch with the rel_patch_path applies in the stack.
117 This is used in the bisection mode of the patch manager. It's similiar
118 to ApplyAllFromJson, but differs in that the patch with rel_patch_path
126 rel_patch_path: Relative patch path of the patch we want to check. If
127 patches before this patch fail to apply, then the revision is skipped.
142 # Everything is good, patch applied successfully.
146 # We attempted to apply this patch, but it failed.
149 # Didn't attempt to apply the patch, but failed regardless.
161 """Apply a patch, and all patches that apply before it in the patch stack.
164 match and they weren't the patch of interest) do not appear in the output.
171 [0]: Did the patch of interest succeed in applying?
172 [1]: List of applied patches, potentially containing the patch of interest.
173 [2]: List of failing patches, potentially containing the patch of interest.
177 # We have to apply every patch up to the one we care about,
187 # We applied the patch we wanted to, we can stop.
191 # We failed the patch we cared about, we can stop.
198 # Broke before we reached the patch we cared about. Stop.
201 raise ValueError(f"Did not find patch {rel_patch_path}. " "Does it exist?")
228 "\nThe patch metadata file %s has been modified"
238 "\nThe following patches were removed from the patch metadata file:"
245 """Applies patches to the source tree and takes action on a failed patch."""