Fix unserialization of revision data

bug 49971

Change-Id: Id719b27e9fb83be0d54a211b7006189b9444c2a0
Merge "Fix unserialization of revision data"