mercurial/patch.py
changeset 10751 440786f7f18b
parent 10749 03225f14c495
child 10818 d14d45fae927
--- a/mercurial/patch.py	Sat Mar 20 16:57:24 2010 -0500
+++ b/mercurial/patch.py	Mon Mar 22 11:08:42 2010 +0100
@@ -1320,6 +1320,10 @@
             try:
                 return internalpatch(patchname, ui, strip, cwd, files, eolmode)
             except NoHunks:
+                ui.warn(_('internal patcher failed\n'
+                          'please report details to '
+                          'http://mercurial.selenic.com/bts/\n'
+                          'or mercurial@selenic.com\n'))
                 patcher = (util.find_exe('gpatch') or util.find_exe('patch')
                            or 'patch')
                 ui.debug('no valid hunks found; trying with %r instead\n' %