darcs

Issue 1740 darcs mv of a directory after the fact => openBinaryFile: inappropriate type (is a directory)

Title darcs mv of a directory after the fact => openBinaryFile: inappropriate type (is a directory)
Priority bug Status resolved
Milestone Resolved in 2.8.0
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey
Assigned To
Topics ThePendingPatch

Created on 2010-02-08.15:04:37 by kowey, last changed 2011-12-26.10:56:41 by noreply.

Messages
msg9977 (view) Author: kowey Date: 2010-02-08.15:04:32
I think we're roughly expecting the following to work:
 mv d d2
 # oops, I meant to darcs mv that
 darcs mv d d2

Only if we try this with a directory, darcs blows up.  Notice the
pending patch:
hunk ./d/f 1
-Example content.
rmfile ./d/f
rmdir ./d
addfile ./d2

I'll be submitting a test case for this shortly
msg10208 (view) Author: kowey Date: 2010-03-15.10:31:27
Test case submitted.  I think we just need to examine the causes and
write down a story here to see what we ought to expect
msg14798 (view) Author: markstos Date: 2011-10-28.02:18:08
This issue is supposed to be resolved by this patch:

"resolve issue1740: handle post-hoc darcs mv for directories correctly"
msg14852 (view) Author: noreply Date: 2011-12-26.10:56:40
The following patch sent by Florent Becker <florent.becker@ens-lyon.org> updated issue issue1740 with
status=resolved;resolvedin=2.8.0 HEAD

* resolve issue1740: handle post-hoc darcs mv for directories correctly 
Ignore-this: 3e6f3974bce7dafa7bff9acf00c4dd44
History
Date User Action Args
2010-02-08 15:04:37koweycreate
2010-03-15 10:31:29koweysetmessages: + msg10208
2011-10-28 02:18:09markstossetstatus: needs-reproduction -> resolved
messages: + msg14798
resolvedin: 2.8.0
2011-12-26 10:56:41noreplysetmessages: + msg14852