darcs

Issue 88 darcs add could stop recursing after parent directory fails.

Title darcs add could stop recursing after parent directory fails.
Priority feature Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics ProbablyEasy

Created on 2006-01-09.18:40:51 by markstos, last changed 2009-08-27.13:48:04 by admin.

Messages
msg344 (view) Author: markstos Date: 2006-01-09.18:40:50
This is a low priority suggestion to improve a diagnostic of 'darcs
add'. This illustrates what happened:

 darcs init;
 darcs add ./a/b/c.wiki
 File a does not exist!
 File a/b does not exist!
 File a/b/c.wiki does not exist!

It could stop after the first error, since the others logically follow:

 darcs add ./a/b/c.wiki
 File a does not exist!

I guess there is another bug, which is that directories are being called "files".
So it should really say:

 darcs add ./a/b/c.wiki
 Directory a does not exist!

Or even more generically:

 darcs add ./a/b/c.wiki
 "a" does not exist!

	Mark
msg1042 (view) Author: kowey Date: 2006-10-02.04:54:20
Dino Morelli points out that this has already been resolved:

$ darcs init
$ darcs add ./a/b/c.wiki
darcs: a: getSymbolicLinkStatus: does not exist (No such file or directory)

Yeah, the error message isn't very nice, but it looks like the recursion issue
is taken care of. (I wonder what has changed.  Maybe I should get in the habit
of keeping old darcses around)
History
Date User Action Args
2006-01-09 18:40:51markstoscreate
2006-01-13 14:41:28droundysetnosy: droundy, tommy, markstos
2006-08-04 12:08:09koweysettopic: + ProbablyEasy
nosy: droundy, tommy, markstos
2006-10-02 04:54:26koweysetstatus: unread -> resolved
nosy: + kowey
messages: + msg1042
2009-08-06 17:36:52adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, beschmi, thorkilnaur, - droundy
2009-08-06 20:47:57adminsetnosy: - beschmi
2009-08-10 22:21:06adminsetnosy: - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:50:48adminsetnosy: + darcs-devel, - simon
2009-08-27 13:48:04adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin