civicrm/civicrm-core — pull request #3278 by pratik-joshi (2014-05-16 08:17:45+00:00)
Title: Crm 14681 : Import Contacts no longer checks contact type, instead contact type is changed.

the issue: errorCode was rightly getting set to no_match for incompatibly contact type contacts during a particular type of contact import. But somehow a new contact was getting created and contact type was getting updated wrongly.

the fix: stopped execution for the new contact creation for non_match contacts with the help of errorCode.