Add utility method to help copy commit ID to revision buffer