write revisions file