darcs

Issue 290 --ask-deps should not put unnecessary dependencies in patch

Title --ask-deps should not put unnecessary dependencies in patch
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-10-12.06:28:01 by kowey, last changed 2009-08-27.14:05:18 by admin.

Messages
msg1065 (view) Author: kowey Date: 2006-10-12.06:27:45
Import of RT #327

Tommy Pettersson <ptp@lysator.liu.se> 2005-04-08
------------------------------------------------
Let patch A depend on patch B, and let them come after the
last tag T.

A->B T->...

--ask-deps will ask about A, and if I say Yes it will not
ask about B since there is no need to depend on B.

But the reason it doesn't ask about B is that it implicitly
selects B when I say Yes to A, and it will unnecessarily put
also patch B in the depend list of the recorded patch.

This is if I have run darcs optimize first. If there are no
inventory breaks, it might list many unnecessary dependencies
in the patch.

This is of course low priority since it isn't broken in any
true way.
msg3065 (view) Author: markstos Date: 2008-02-03.02:06:22
From manual testing with Darcs2, this appears to be resolved-in-unstable now. 

I was able to use --ask-depends to create a patch that declared that it depended
only on A, even when patch A depends on patch B.
History
Date User Action Args
2006-10-12 06:28:01koweycreate
2006-10-12 06:28:41koweysettopic: + FromRequestTracker
nosy: droundy, tommy, kowey
2007-08-14 13:44:25koweysettopic: - FromRequestTracker
nosy: + beschmi
2008-02-03 02:06:23markstossetstatus: unread -> resolved-in-unstable
nosy: + markstos
messages: + msg3065
2008-09-04 21:29:27adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:48:18adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy
2009-08-06 20:44:03adminsetnosy: - beschmi
2009-08-10 21:56:33adminsetnosy: - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:56:39adminsetnosy: - dagit
2009-08-25 18:00:05adminsetnosy: + darcs-devel, - simon
2009-08-27 14:05:18adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin