[darcs-users] Strange error with darcs mv and add

Trent W. Buck trentbuck at gmail.com
Sat Jan 3 02:29:34 UTC 2009


"S. Günther" <h8spawn at googlemail.com> writes:

> $ darcs mv ./gsom/lattice.hs ./gsom/node.hs generic/
> darcs failed:  There is no file or dir named Gsom/lattice.hs in the
> working directory.
> although the file is there, as a 'darcs show files' shows [...]

What follows is a form response.

Thanks for your bug report!  To fix a bug, we need to be able to
reproduce it reliably.  That means we need a set of instructions that
will, at least for you, ALWAYS cause the bug to appear.

Often the easiest way to do this is simply to make the buggy repository
publicly available.  That is, so we can "darcs get URL" to get it.  Is
there such a URL?

It might be that if you "darcs get" the repository, the problem goes
away.  In that case, we need an exact copy of the buggy repository
(i.e. a tarball or zip file) somewhere we can download.

Best of all is if you can reproduce the problem in a brand new
repository.  So instead of us having to go through your whole
repository, we can just use a set of instructions like

    darcs init
    touch foo
    darcs add foo
    darcs record --all --message 'Added foo.' foo
    ...

that will cause the problem to appear.  This allows us to add those
instructions almost verbatim into the bugs/ or tests/ directories in
Darcs' source, making our work much easier.

Any of this will give us a huge head start on fixing your bug.  It's
also helpful if you can send the details to bugs at darcs.net, which will
create a bug ticket on http://bugs.darcs.net/ which we (and you!) can
use to track the status of the bug.



More information about the darcs-users mailing list