darcs

Issue 2618 option --ask-deps adds too many dependencies

Title option --ask-deps adds too many dependencies
Priority Status resolved
Milestone Resolved in
Superseder Nosy List bfrk
Assigned To
Topics

Created on 2019-01-24.16:10:39 by bfrk, last changed 2020-06-20.09:40:37 by bfrk.

Messages
msg20639 (view) Author: bfrk Date: 2019-01-24.16:10:37
Seen with current screened. I haven't investigated this in depth yet. So
far it looks as if it erroneously adds all /implicit/ dependencies of
the selected patches, back to the latest clean tag.
msg20640 (view) Author: bfrk Date: 2019-01-24.16:16:03
Just confirmed that this happens with darcs-2.12.5, too.
msg20642 (view) Author: bfrk Date: 2019-01-24.17:30:16
Looking at the code of askAboutDepends this behavior isn't too
surprising. We call runSelection with FirstReversed and use the
resulting left ("first") segment directly as the result. Of course this
now includes all implicit dependencies of all selected patches.
msg20645 (view) Author: bfrk Date: 2019-01-24.18:42:19
For test script and fix see patch1795.
msg22049 (view) Author: bfrk Date: 2020-06-20.09:40:35
The behavior is still not perfect but the user can now control this.
History
Date User Action Args
2019-01-24 16:10:39bfrkcreate
2019-01-24 16:16:05bfrksetmessages: + msg20640
2019-01-24 17:30:17bfrksetmessages: + msg20642
2019-01-24 18:42:20bfrksetmessages: + msg20645
2020-06-20 09:40:37bfrksetstatus: unknown -> resolved
messages: + msg22049