doctrine/mongodb-odm — pull request #964 by nail (2014-10-16 14:35:39+00:00)
Title: preserve dirty state - refs #963

Since bd573cb7 the dirty state is reset to false when you call `PersistentCollection::initialize()` even if extra elements have been added to the collection before being called.

This addresses #963 but I'm not sure if it could have other implication (tests pass 100%)