Rakefiles: propagate phase-changes back to staging repository
When pusshing changes to upstream, a changesets' phase may change
(from draft to public). These phase-changes need to be propagated
back to 'staging' repository so it cannot ve changed anymore.