Add package and references into xrepo database in a single transaction.
Created by: efritz
This removes issues of clearing and adding data from/to the xrepo database in three steps.
Created by: efritz
This removes issues of clearing and adding data from/to the xrepo database in three steps.