--- a/mercurial/commands.py Thu Mar 21 22:26:01 2013 -0700 +++ b/mercurial/commands.py Thu Mar 21 22:29:31 2013 -0700 @@ -2177,7 +2177,7 @@ continue s = f.find(os.sep, speclen) if s >= 0: - adddir(f[:s+1]) + adddir(f[:s + 1]) else: addfile(f) return files, dirs