[darcs-devel] [issue2378] moving a directory to a file makes repo unusable

Ben Franksen bugs at darcs.net
Sun Apr 13 12:17:35 UTC 2014


New submission from Ben Franksen <benjamin.franksen at helmholtz-berlin.de>:

1. Summarise the issue (what were doing, what went wrong?)

darcs initialize 
mkdir d
darcs add d
echo sometext > d/f
darcs add d/f
darcs record -am'added d/f' --skip-long-comment
darcs move d/f .
darcs record -am'moved d/f to .' --skip-long-comment
rmdir d
darcs record -am'removed d' --skip-long-comment
darcs move f d
darcs record -am'moved f to d' --skip-long-comment
darcs obliterate --last=3 --all
darcs whatsnew -l

The last command results in this error message:

darcs: /home/ben/tmp/issueNNNN/test/d: openBinaryFile: inappropriate
type (is a directory)

3. What darcs version are you using? (Try: darcs --exact-version)

2.8.4 (+ 1 patch)

4. What operating system are you running?

linux

----------
files: test.sh
messages: 17347
nosy: bf
status: unknown
title: moving a directory to a file makes repo unusable

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2378>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.sh
Type: application/x-shellscript
Size: 362 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20140413/b0ba0a90/attachment.bin>


More information about the darcs-devel mailing list