# HG changeset patch # User Vadim Gelfer # Date 2006-08-12 22:41:26 # Node ID 9a2a481ec3eabcec0075f793879c82e4e846a34a # Parent b5f56d6c62c48144375a2adba8de141efcc5801e util: qualify name properly. diff --git a/mercurial/patch.py b/mercurial/patch.py --- 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)