diff -r a9b92164a1f4 -r 50f2966f86ca mercurial/patch.py --- 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