Fix RebaseIfNecessary submit strategy
If a change on submit needs to be rebased a current user is not
available since the merge is executed in the background.
At the moment ChangeControl.Factory is used to get the label types
when rebasing a change, which fails if called from the merge thread
because it requires the current user to be injected. As result the
submit fails and the user gets the error message 'change is new'.
Fix the problem by retrieving the label types from the project and
avoid the usage of ChangeControl.
Change-Id: I2e55caf73904ad078ee9be8fb3ba8d6b02c532b3
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed