Case handling on windows
Andrei Vermel
avermel at mail.ru
Sat Jun 28 04:53:32 CDT 2008
Matt,
I think the way current tip handles case changes on windows is not quite
right. At the moment it silently ignores them.
D:\distribs\mercurial\qqq>hg init
D:\distribs\mercurial\qqq>echo "aaa" >aaa.txt
D:\distribs\mercurial\qqq>hg add
adding aaa.txt
D:\distribs\mercurial\qqq>hg ci -m 1
D:\distribs\mercurial\qqq>mv aaa.txt AAA.txt
D:\distribs\mercurial\qqq>ls
AAA.txt
D:\distribs\mercurial\qqq>hg stat
D:\distribs\mercurial\qqq>echo "bbb" >>aaa.txt
D:\distribs\mercurial\qqq>hg stat
M aaa.txt
I hope that this behaviour is not the intended one?
I think it would be much more appropriate, if stat reported the case changes
just like on any other platform.
Also, 'add' is acting silly:
D:\distribs\mercurial\qqq>ls
AAA.txt
D:\distribs\mercurial\qqq>hg add aaa.txt
aaa.txt already tracked!
D:\distribs\mercurial\qqq>hg add AAA.txt
D:\distribs\mercurial\qqq>hg add Aaa.txt
D:\distribs\mercurial\qqq>hg add qqq.txt
qqq.txt does not exist!
Best Regards,
Andrei
More information about the Mercurial
mailing list