1.0.2dev: raise an explicit error for attemping to add a repository or an alias that already exists
Initial fix and functional test contributed by Ryan J Ollos.
Closes #11186.
Authored by: jomae 2013-06-01
Parent: [r11808]
Child: [r11810]