Make environment upgrades more robust by committing after each upgrade step.
This was anyway the de facto way to make upgrades more robust (see e.g. [Bitten 786/trunk/bitten/main.py]).
Authored by: cboos 2010-04-26
Parent: [r9567]
Child: [r9569]