merge two repositories