Handle repo hierarchy