Go to file
Edwin Kempin a085d501c0 Do not modify git repository when checking if a change is mergeable
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>
2012-10-21 20:26:33 +02:00
2012-10-18 13:38:51 +02:00
2012-10-18 13:38:51 +02:00
2012-10-21 10:33:40 -07:00
2012-10-18 13:38:51 +02:00
2012-10-17 14:45:10 +02:00
2008-11-14 16:59:34 -08:00
2009-03-27 20:20:10 -07:00
Description
RETIRED, Gerrit as used by OpenStack
120 MiB