equal
deleted
inserted
replaced
1189 printed_file = True |
1189 printed_file = True |
1190 ui.warn(line + '\n') |
1190 ui.warn(line + '\n') |
1191 code = fp.close() |
1191 code = fp.close() |
1192 if code: |
1192 if code: |
1193 raise PatchError(_("patch command failed: %s") % |
1193 raise PatchError(_("patch command failed: %s") % |
1194 util.explain_exit(code)[0]) |
1194 util.explainexit(code)[0]) |
1195 return fuzz |
1195 return fuzz |
1196 |
1196 |
1197 def internalpatch(patchobj, ui, strip, cwd, files=None, eolmode='strict'): |
1197 def internalpatch(patchobj, ui, strip, cwd, files=None, eolmode='strict'): |
1198 """use builtin patch to apply <patchobj> to the working directory. |
1198 """use builtin patch to apply <patchobj> to the working directory. |
1199 returns whether patch was applied with fuzz factor.""" |
1199 returns whether patch was applied with fuzz factor.""" |