use build rev to checkout branch, and pull later