Using Rhodecode 1.5.4. In case this is already solved in 1.6.0rc1, I apologise.
How to reproduce:
- Create a new repository group, test-level1.
- Create another new repository group test-level2, nesting it below test-level1.
- Try to delete the parent repository group (test-level1).
- 500 Server Error
Expected behaviour should be a nested delete of any child groups (optionally after confirmation).
I'm marking this bug as minor priority because, as a workaround, you still can manually delete all the repository groups by starting from the leaves of the tree (though it will be a lot of work to do manually, if the tree is large).