bug: hg add ./a -- fails to add file

Baruch Even baruch at ev-en.org
Wed Aug 10 06:49:45 CDT 2005


I'm using Mercurial 0.6 and the following sequence of commands fails for me:
$ mkdir 1
$ cd 1
$ hg init
$ touch a
$ hg add ./a
$ hg status
R ./a
? a

Expected result: file 'a' is added to repository.

The thing I tried to do that provoked this in the first place is to use
find to add some files in the directory that were added. The command
'find . -type f' will output the files with the leading dot-slash.


More information about the Mercurial mailing list