changeset 7732 | 3793802ea41b |
parent 7670 | e5f445c94226 |
child 7739 | edcb56991afe |
--- a/mercurial/patch.py Sun Jan 25 21:20:11 2009 +0100 +++ b/mercurial/patch.py Sun Jan 25 21:20:13 2009 +0100 @@ -1137,7 +1137,7 @@ try: return internalpatch(patchname, ui, strip, cwd, files) except NoHunks: - patcher = util.find_exe('gpatch') or util.find_exe('patch') + patcher = util.find_exe('gpatch') or util.find_exe('patch') or 'patch' ui.debug(_('no valid hunks found; trying with %r instead\n') % patcher) if util.needbinarypatch():