diff -r 5965f369314b -r 28ddf67198b2 mercurial/commands.py --- a/mercurial/commands.py Thu Sep 23 01:51:17 2010 +0200 +++ b/mercurial/commands.py Thu Sep 23 01:23:16 2010 +0200 @@ -2533,7 +2533,11 @@ revmatchfn = None if opts.get('patch') or opts.get('stat'): - revmatchfn = cmdutil.match(repo, fns, default='path') + if opts.get('follow') or opts.get('follow_first'): + # note: this might be wrong when following through merges + revmatchfn = cmdutil.match(repo, fns, default='path') + else: + revmatchfn = matchfn displayer.show(ctx, copies=copies, matchfn=revmatchfn)