use hash to decide which repo