changeset 2868 | 9a2a481ec3ea |
parent 2866 | 2893e51407a4 |
child 2874 | 4ec58b157265 |
--- a/mercurial/patch.py Sat Aug 12 14:15:23 2006 -0700 +++ b/mercurial/patch.py Sat Aug 12 15:41:26 2006 -0700 @@ -242,7 +242,8 @@ 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)