Add ability to pass a revision state for chained builds