|
@@ -212,7 +212,7 @@ class PatchTree(PatchSet):
|
|
|
self.patches.insert(i, patch)
|
|
|
|
|
|
def _applypatch(self, patch, force = False, reverse = False, run = True):
|
|
|
- shellcmd = ["cat", patch['file'], "|", "patch", "-p", patch['strippath']]
|
|
|
+ shellcmd = ["cat", patch['file'], "|", "patch", "--no-backup-if-mismatch", "-p", patch['strippath']]
|
|
|
if reverse:
|
|
|
shellcmd.append('-R')
|
|
|
|