Insert new revision when Flow is taking over

Change-Id: I302ef7ed48203176af400bd4e8bcf1f8baa8c486
Merge "Insert new revision when Flow is taking over"