[issue1092] hg add gives wrong result when filename case doesn't match
Paul Moore
mercurial-bugs at selenic.com
Thu Apr 17 14:54:34 CDT 2008
New submission from Paul Moore <p.f.moore at gmail.com>:
On a case insensitive filesystem (e.g. Windows) if you "hg add" a file using a
different case from the one the filename is stored as, Mercurial adds the wrong
filename and ends up confused over what files are present. Here is an example:
>hg init test
>cd test
>echo hello >a
>hg add --verbose A
adding A
>hg status
A A
? a
>rem Note that a is shown as unknown and A as added
>hg commit -m test
>hg sta
? a
>rem Note that a is still shown as unknown
This is related to Issue593 and Issue646.
----------
messages: 5920
nosy: p.f.moore
priority: bug
status: unread
title: hg add gives wrong result when filename case doesn't match
topic: casefolding, windows
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1092>
____________________________________________________
More information about the Mercurial-devel
mailing list