mercurial/cmdutil.py
branchstable
changeset 16070 f11eee00c652
parent 15912 2bd54ffaa27e
child 16108 f7e0d95d0a0b
--- a/mercurial/cmdutil.py	Sat Feb 04 00:02:05 2012 +0000
+++ b/mercurial/cmdutil.py	Mon Feb 06 14:37:49 2012 +0900
@@ -1224,8 +1224,8 @@
             ui.status(_("skipping missing subrepository: %s\n")
                            % join(subpath))
 
-    for f in match.files():
-        if match.exact(f) or not explicitonly:
+    if not explicitonly:
+        for f in match.files():
             if f not in repo.dirstate and not os.path.isdir(match.rel(join(f))):
                 if f not in forgot:
                     if os.path.exists(match.rel(join(f))):