mercurial/commands.py
branchstable
changeset 11508 fbab0875fd09
parent 11507 35e2d453cf0d
child 11515 cc982ff2dcf8
--- a/mercurial/commands.py	Sun Jul 04 17:05:17 2010 +0900
+++ b/mercurial/commands.py	Fri Jul 02 23:49:06 2010 +0900
@@ -2521,7 +2521,7 @@
 
         revmatchfn = None
         if opts.get('patch') or opts.get('stat'):
-            revmatchfn = cmdutil.match(repo, fns)
+            revmatchfn = cmdutil.match(repo, fns, default='path')
 
         displayer.show(ctx, copies=copies, matchfn=revmatchfn)