mercurial/cmdutil.py
changeset 16381 64c8ae09162e
parent 16380 84ba30e8c790
child 16429 71dcce391a44
--- a/mercurial/cmdutil.py	Sun Apr 08 12:38:24 2012 -0500
+++ b/mercurial/cmdutil.py	Sun Apr 08 12:38:26 2012 -0500
@@ -1006,7 +1006,7 @@
         wanted = set(revs)
     copies = []
 
-    if not slowpath:
+    if not slowpath and match.files():
         # We only have to read through the filelog to find wanted revisions
 
         minrev, maxrev = min(revs), max(revs)