darcs

Issue 450 Recursive add doesn't ignore contents of boring directories

Title Recursive add doesn't ignore contents of boring directories
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, sburson, thorkilnaur, tommy
Assigned To
Topics

Created on 2007-05-05.07:11:39 by sburson, last changed 2009-08-27.13:50:35 by admin.

Messages
msg1674 (view) Author: sburson Date: 2007-05-05.07:11:34
This is in 1.0.9rc2.  After initializing, I did a recursive add to import a
tree.  It happened to contain a directory whose name was declared as boring
(`tags').  The patch contains no `adddir' for the directory, but nonetheless
contains `addfile' entries for the files within the directory.  A subsequent
`record' chokes on this with a message like `... takeFile: <file> in <repo>:
openFd: does not exist (no such file or directory)'.
msg1675 (view) Author: droundy Date: 2007-05-05.14:37:10
On Sat, May 05, 2007 at 07:11:40AM +0000, Scott L. Burson wrote:
> This is in 1.0.9rc2.  After initializing, I did a recursive add to import a
> tree.  It happened to contain a directory whose name was declared as boring
> (`tags').  The patch contains no `adddir' for the directory, but nonetheless
> contains `addfile' entries for the files within the directory.  A subsequent
> `record' chokes on this with a message like `... takeFile: <file> in <repo>:
> openFd: does not exist (no such file or directory)'.

Thanks for the bug report! I've just sent in a patch that fixes this.
-- 
David Roundy
http://www.darcs.net
msg1954 (view) Author: kowey Date: 2007-07-31.18:20:11
Resolved in darcs 1.0.9 with David's patch

Sat May  5 16:33:30 CEST 2007  David Roundy <droundy@darcs.net>
  * fix bug where we add a file but not its boring parent directory.
History
Date User Action Args
2007-05-05 07:11:39sbursoncreate
2007-05-05 14:37:20droundysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, sburson
messages: + msg1675
2007-05-06 09:01:41koweysetstatus: unknown -> resolved-in-unstable
nosy: droundy, tommy, beschmi, kowey, sburson
2007-07-31 18:20:13koweysetstatus: resolved-in-unstable -> resolved
nosy: droundy, tommy, beschmi, kowey, sburson
messages: + msg1954
2009-08-06 17:41:28adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, sburson
2009-08-06 20:38:40adminsetnosy: - beschmi
2009-08-10 22:03:49adminsetnosy: + sburson, - markstos, darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:55:05adminsetnosy: + darcs-devel, - simon
2009-08-27 13:50:35adminsetnosy: tommy, kowey, darcs-devel, sburson, thorkilnaur, dmitry.kurochkin