Set next revision number