It should only recurse if the Resource that was passed in has children, but it currently recurses on the children of the merged Resource (i.e. even if the merged Resource was an existing Resource). This results in a bunch of unnecessary work being done when merging a modified Resource (i.e. all of its descendants are also "merged" with themselves).
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-919
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
Triaged 30-Sep