Hi!

My second attempt on resolving issue1039. This time we check for
common patchinfos instead of introducing repo-id.

Besides --ignore-unrelated-repos flag is introduced to skip the check.
And test is there as well.

To check for common patches results from get_common_and_uncommon
function are used. So there should be no performance hit. But there is
a problem with pull command for multiple repositories. In read_repos
we do union, intersection or complement. So after read_repos we can
not check for common patches in each repo. To solve this we need to do
get_common_and_uncommon for each repo in read_repos. I think this can
introduce performance regressions, so check for unrelated repo is done
for union of all pulled repos, their intersection, or just the first
repo (depending on parameters). This should be enough for most cases.

Regards,
  Dmitry

Attachment: print-_we-have-the-following-patches-to-send__-only-when-we-really-have-somthing-to-send_.dpatch
Description: Binary data

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to