[darcs-devel] [issue269] adddir and rmdir in the same patch

Ivan S. Dubrov bugs at darcs.net
Tue Sep 19 10:36:12 PDT 2006


New submission from Ivan S. Dubrov <wfragg at gmail.com>:

It is possible to make a patch that lists some directory both as added and
removed (there is "adddir" line, then "rmdir" line). Such patches could easely
lead to lock during the patch pulling.

I had two patches: one "broken", that added and removed "A" directory and other
"correct" patch, that added "A" directory. The first patch was applied. I've
looked at the working directory - it did not contained the "A" directory, so
second patch should been applied well. But when I tried to pull it, the darcs
hanged. After some investigation I found that first patch is "broken" and after
fixing it (re-recording it) I pulled second patch successfully.

----------
messages: 1000
nosy: EricKow, WFrag, droundy, tommy
priority: bug
status: unread
title: adddir and rmdir in the same patch

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue269>
____________________________________




More information about the darcs-devel mailing list