[darcs-users] --no-pristine-tree broken

Thomas Schwinge schwinge-darcs-users at nic-nac-project.de
Sat Sep 3 12:22:01 UTC 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.bz2
Type: application/octet-stream
Size: 3605 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050903/4da27e56/attachment.obj 


More information about the darcs-users mailing list