[darcs-users] Strange error with darcs mv and add
Thorkil Naur
naur at post11.tele.dk
Tue Jan 6 18:12:19 UTC 2009
Hello,
On Friday 02 January 2009 07:08, S. Günther wrote:
> Hello,
>
> I'm a very happy darcs user but recently I got a very strange error.
> I tried to execute:
> darcs mv ./gsom/lattice.hs ./gsom/node.hs generic/
> and it failed with the following error:
> darcs failed: There is no file or dir named Gsom/lattice.hs in the
> working directory.
Do I read this correctly? You try to darcs mv something where you specify a
directory (gsom) in lower case, but you get an error message that reports the
directory name with the initial letter in upper case (Gsom)?
> although the file is there, as a 'darcs show files' shows:
>
> darcs show files
> .
> ./gsom.cabal
> ./Setup.lhs
> ./LICENSE
> ./gsom
> ./gsom/node.hs
> ./gsom/lattice.hs
> ./gsom/input.hs
> ./tests.hs
> ./TODO
> ./gsom.hs
> ./README
>
> I have to say that I got a similar error earlier as I was trying to
> 'darcs add gsom/node.hs' where darcs complained that it wasn't
> allowed to create the directory Gsom since there was already
> a directory gsom.
> I was able to correct both the errors by simply pulling into a
> fresh repository. There both actions ran fine so it may very well
> be that the filesystem is somehow messed up and the error is
> actually on my side but if not then I at least wanted to tell you
> that something like this could happen.
> I'm on Mac OS X Tiger
This is a system that may be using a case-insensitive file system. Darcs have
had, and possibly still has, some issues with case-sensitive file systems. An
example of an unresolved issue related to case-insensitive file systems is
http://bugs.darcs.net/issue253
You may wish to take a look at this issue and, perhaps, other issues related
to the use of case-insensitive file systems: I get 21 issues as a result when
using "case-insensitive" as a search string:
http://bugs.darcs.net/issue?%40columns=id%2Cactivity%2Ctitle%2Ccreator%2Cassignedto%2Cstatus&%40sort=activity&%40group=priority&%40search_text=case-insensitive&submit=Search
And then you may wish to report a new issue for your case.
> and the darcs version is the one from
> MacPorts i.e. 2.1.2 (release).
> ...
Thanks and best regards
Thorkil
More information about the darcs-users
mailing list