mercurial/patch.py
changeset 29904 50f2966f86ca
parent 29738 160c829dd5d0
child 29952 e40343ce9c4c
--- a/mercurial/patch.py	Mon Sep 05 08:29:36 2016 +0000
+++ b/mercurial/patch.py	Fri Aug 26 12:48:20 2016 +0200
@@ -669,6 +669,8 @@
                 self.mode = (False, False)
         if self.missing:
             self.ui.warn(_("unable to find '%s' for patching\n") % self.fname)
+            self.ui.warn(_("(use '--prefix' to apply patch relative to the "
+                           "current directory)\n"))
 
         self.hash = {}
         self.dirty = 0