fixed when repo already exists
M addrepo.h