mercurial/commands.py
changeset 4256 fe0fe0b4d73b
parent 4250 ca639faa38a2
parent 4252 e14b6980a014
child 4258 47ba52121433
child 4266 1b5c38e9d7aa
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -430,6 +430,8 @@ def commit(ui, repo, *pats, **opts):
         files = modified + added + removed
         slist = None
         for f in fns:
+            if f == '.':
+                continue
             if f not in files:
                 rf = repo.wjoin(f)
                 if f in unknown: