pypa/pip — pull request #920 by gizmoguy1 (2013-04-28 21:21:11+00:00)
Title: Incorrect operation sequence in bzr-handling code

In get_src_requirement, the test to see if repo was valid was happening after a method was being called on it, which gave me some problems when pip went digging around one of my projects which was in bzr but lacked a remote repo.