dep-resolv: Fix bug handling negated dependencies.

Authored by mpyne on Mar 9 2019, 3:08 AM.

Description

dep-resolv: Fix bug handling negated dependencies.

Fix bug spotted by @ouwerkerk in handling of negated dependencies. Since
_shortenModuleNames() removes all text from beginning of the string to
the first '/', and since module names in dependency-data almost always
contain at least one '/', the '-' prefix that indicates a negated
dependency is eaten before the dependency is inserted into the
appropriate list.

This seems to have not been a significant issue in practice but could
help with building fewer modules for things like Android-related
branch-groups (which ignores kf5umbrella and manually specifies a
minimal dependency list instead).

Details

Committed
mpyneMar 9 2019, 3:08 AM
Parents
R365:3732ffc47495: git: Minor fix to correct msg shown to user when git-stash pop fails.
Branches
Unknown
Tags
Unknown