patch repos