joeferraro/mm — pull request #17 by ralphcallaway (2014-05-09 15:18:59+00:00)
Title: correctly handle new components when using tooling api

deals with edge case when create components fail and tooling api needs to create the component instead of updating it

fixes joeferraro/MavensMate-SublimeText#361 and joeferraro/MavensMate-SublimeText#342

approach is not optimal and uses a lot more api calls than necessary since adding the file to the metadata container isn't really needed if it's created, but not doing it this way seems like it might break how some caching is being done with existing member ids ...