mercurial/cmdutil.py
changeset 23327 bd296bb4b5c8
parent 23326 f6b8d23492e5
child 23374 aa0a430d9c75
--- a/mercurial/cmdutil.py	Wed Nov 12 23:15:20 2014 -0500
+++ b/mercurial/cmdutil.py	Sun Nov 16 00:24:23 2014 -0500
@@ -2088,7 +2088,7 @@
                     return True
             return False
 
-        if f in repo.dirstate or f in wctx.dirs() or insubrepo():
+        if f in repo.dirstate or f in wctx.dirs() or f == '.' or insubrepo():
             continue
 
         if os.path.exists(m.rel(join(f))):