eclipse-equinox / p2

Eclipse Public License 2.0
15 stars 41 forks source link

Save state should be reset to the previous state #417

Closed laeubi closed 10 months ago

laeubi commented 10 months ago

Currently if one performs an operation as batch and then inside that also performs a batch this resets the save flag even though there are more items to batch in the operation.

This saves the current state and restore that state on completion, save is only performed if saving was not already disabled before.

github-actions[bot] commented 10 months ago

Test Results

       9 files  ±0         9 suites  ±0   36m 37s :stopwatch: + 2m 12s 2 181 tests ±0  2 177 :heavy_check_mark: ±0    4 :zzz: ±0  0 :x: ±0  6 633 runs  ±0  6 622 :heavy_check_mark: ±0  11 :zzz: ±0  0 :x: ±0 

Results for commit 30ef7201. ± Comparison against base commit a795c7f4.