pypa/pip — pull request #702 by qwcode (2012-10-11 05:34:07+00:00)
Title: put back finder link priority (with tests)

In pull #683, I made a fix so that the package finder preferred the existing installation over found file:// links. (w/o this upgrades would occur with file:// find-links despite having the best version installed)

the problem with that fix is that it regressed what I take to be the intended
prioritization of file_links over page_links over dependency_links (given equivalent versions)

this corrects that and adds 3 test to prevent regressions.