This method will upgrade the repositories. It takes a progress monitor call back to indicate the progress of the upgrade.
This method by itself is atomic in context of the Progress Status. The sub tasks that are performed as part of this upgrade are
1) Upgrade Master Repository
2) Upgrade Topology
3) Upgrades the Work repositories
Each of the above Sub task takes 33 % of the total time spent in upgrade Progress.