composer/composer — pull request #2329 by fabiang (2013-10-14 13:12:53+00:00)
Title: Preforce Utility does not check return code

Hi,

the utility for Preforce repository doesn't check the return code of „p4“ command. This accidentally results in Subversion repositories are handled by PrefoceDriver instead of SvnDriver. Current workaround is to set the type of the repository explicit to "svn" instead of "vcs".

Added check for return code is equal to 0 and a test case.