For consistency of Revert Submission, we should not ignore identical trees, and we should allow empty commits/changes to be created. This change extends the function for the cherry-picks, and now we can pass a boolean that flags that we don't ignore identical trees (meaning we don't throw an error). Change-Id: I2673888b7fe545309e87eacb87c0dc77a916b2b4