Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/patch.py @ 2867:9a2a481ec3ea
util: qualify name properly.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 12 Aug 2006 15:41:26 -0700 |
parents | 2893e51407a4 |
children | 4ec58b157265 |
line wrap: on
line diff
--- 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)