changeset 4252:e14b6980a014

fix hg commit . in the repo root
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 20 Mar 2007 22:09:51 -0300
parents 34c4540c04c5
children 9e3e975258a9
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Fri Mar 16 22:48:23 2007 -0300
+++ b/mercurial/commands.py	Tue Mar 20 22:09:51 2007 -0300
@@ -426,6 +426,8 @@
         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: