a085d501c0a417c9527c4ec722f8004f11f01efa
If testing of mergeability of changes is enabled (see changeMerge.test config parameter) the merge algorithm is executed without updating the destination branch and the change status. However running the merge algorithm creates new objects and even commits in the git repository. The created objects/commits are never used and it's just waste to create them and to have them. Rewrite the mergeability test so that it is a read-only operation and the git repository is not modified. If CHERRY_PICK is chosen as submit type the merge algorithm also creates a new patch set for the commit that was created by the cherry pick. When testing the mergeability creating the new patch set currently fails with an NullPointerException since the code trys to set the submitter as uploader of the new patch set, but there is no submitter when the mergeability is tested. Change-Id: I613f45e7d173b33db3e400fba461bb94c86320ec Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Description
RETIRED, Gerrit as used by OpenStack