Generic repository mirroring tool