set revisions to head