diff -r 0ea3b8e8ce7a -r 0ed95fe674a8 mercurial/commands.py --- 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