changeset 7739 | edcb56991afe |
parent 7736 | fb0776fe3e38 |
parent 7732 | 3793802ea41b |
child 7753 | e617f2e99e61 |
--- a/mercurial/patch.py Sat Feb 07 18:46:13 2009 +0100 +++ b/mercurial/patch.py Sat Feb 07 23:29:12 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():