On any given box that has subscriptions to multiple repos
yum list available --showduplicates foo
foo.x86_64 0.0.1-1 dev-repo foo.x86_64 0.0.1-1 test-repo
What is the logic that yum uses to determine which package to download? I know in the end, that, if the packages are the same, it shouldn't matter, but I'm still interested.