mercurial/cmdutil.py
branchstable
changeset 21966 be94ed4baa5d
parent 21944 0483ff40e326
child 21998 739095270f48
child 22166 ac7a3b2a85e3
--- a/mercurial/cmdutil.py	Thu Jul 31 16:32:12 2014 -0500
+++ b/mercurial/cmdutil.py	Fri Aug 01 21:36:56 2014 +0900
@@ -1629,7 +1629,7 @@
 
     filematcher = None
     if opts.get('patch') or opts.get('stat'):
-        if follow:
+        if follow and not match.always():
             # _makelogfilematcher expects its files argument to be relative to
             # the repo root, so use match.files(), not pats.
             filematcher = _makelogfilematcher(repo, match.files(), followfirst)