Lines Matching refs:patch
86 def apply_patch(self, patch): argument
90 return self.backend.apply_patch(patch)
158 def apply_patch(self, patch): argument
166 utils.system_output("patch -p1 < %s" % patch)
305 def __init__(self, patch=None, patchwork_id=None, confirm=False): argument
308 if patch:
309 self.patch = os.path.abspath(patch)
311 self.patch = self._fetch_from_patchwork(patchwork_id)
313 if not os.path.isfile(self.patch):
315 self.patch)
344 patch = utils.get_file(patch_url, patch_dest)
347 patch_ro = open(patch, 'r')
350 patch_rw = open(patch, 'w')
355 return patch
388 self.vcs.apply_patch(self.patch)
427 patch_checker = PatchChecker(patch=local_patch, confirm=confirm)