stat casefolding problem
Paul Moore
p.f.moore at gmail.com
Sat Aug 2 16:15:07 CDT 2008
2008/8/2 Andrei Vermel <avermel at mail.ru>:
> D:\distribs\mercurial\qqq>hg init
> D:\distribs\mercurial\qqq>echo 1>aaa.txt
> D:\distribs\mercurial\qqq>echo 1>BBB.txt
> D:\distribs\mercurial\qqq>hg add
> adding BBB.txt
> adding aaa.txt
> D:\distribs\mercurial\qqq>hg ci -m 1
> D:\distribs\mercurial\qqq>mv aaa.txt AAA.txt
> D:\distribs\mercurial\qqq>mv BBB.txt bbb.txt
> D:\distribs\mercurial\qqq>hg stat
> ? AAA.txt // aaa.txt and
> bbb.txt behave differently!
Doesn't happen here:
>hg init
>echo 1>aaa.txt
>echo 1>BBB.txt
>hg add
adding BBB.txt
adding aaa.txt
>hg ci -m 1
>hg manifest
BBB.txt
aaa.txt
>ren aaa.txt AAA.txt
C:\Data\tt\aaa.txt -> C:\Data\tt\AAA.txt
1 file renamed
>ren BBB.txt bbb.txt
C:\Data\tt\BBB.txt -> C:\Data\tt\bbb.txt
1 file renamed
>hg sta
>hg manifest
BBB.txt
aaa.txt
>hg version
Mercurial Distributed SCM (version 2134d6c09432)
Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>dir /b
.hg
AAA.txt
bbb.txt
Could there be something odd with your "mv" command? It's not a
standard CMD command. Or are you using something like a Cygwin build
of Mercurial? Or an older version (mine is a pretty recent crew - but
it's the same with a recent main).
Paul.
More information about the Mercurial-devel
mailing list