#!/bin/sh rm $2 cvs update -d -r $1 $2 mv $2 $2.$1 cvs update -d -A $2 mv $2.$1 $2 printf "Type \n cvs commit %s \n now to commit version %s as the head version\n" "$2" "$1"