Katello/katello — pull request #761 by xsuchy (2012-09-27 11:37:34+00:00)
Title: demote repo before promotion

addressing CLIsystem test:
```
----------------------------------------------
Test suite Basic environment cleanup
----------------------------------------------
repo delete [ FAILED ]
repo delete --product=fewups_product_UIGyrS13PjB5 --org=org_UIGyrS13PjB5 --name=repo_UIGyrS13PjB5
Repository cannot be deleted since it has already been promoted. Using a changeset, please delete the repository from existing environments before deleting it.
```