Hi!

#v+
$ mkdir d
$ cd d
$ darcs init --no-pristine-tree
$ echo foo > bar
$ darcs add bar
$ darcs record -a -m baz bar
Recording changes in "bar":


Fail: createDirectory: already exists (File exists)

$ darcs --version
1.0.4pre2 (stable branch)
#v-

I figured out (using strace) what directory darcs was complaining about:
/tmp/testing is created twice.
`strace.bz2' is attached.

Ona side-note: I don't think it's good (it might even be a safety risk!)
that darcs operates on "generic" directories like the said /tmp/testing
and /tmp/pristine.temp.  Isn't there a wrapper for tmpfile(3) or similar
available in Haskell?


Regards,
 Thomas

Attachment: strace.bz2
Description: Binary data

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to