changeset 2867 | 9a2a481ec3ea |
parent 2865 | 2893e51407a4 |
child 2873 | 4ec58b157265 |
--- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -242,7 +242,8 @@ def patch(strip, patchname, ui, cwd=None files.setdefault(pf, (None, None)) code = fp.close() if code: - raise util.Abort(_("patch command failed: %s") % explain_exit(code)[0]) + raise util.Abort(_("patch command failed: %s") % + util.explain_exit(code)[0]) for gp in gitpatches: files[gp.path] = (gp.op, gp)