compare revisions and export