Process ClearCase changeset items in the order listed.

Review Request #12717 — Created Nov. 9, 2022 and submitted

Information

RBTools
release-3.x

Reviewers

When sanitizing an activity changeeset, we iterate through all changes,
build a dictionary, and then iterate through that. This can cause the
second iteration to be in a different order from the first on some
versions of Python. While probably harmless in normal use, this does
cause sporadic issues with test runs.

This change switches the dictionary to be an OrderedDict, so that the
order is preserved.

Unit tests pass on all supported versions of Python.

Summary ID
Process ClearCase changeset items in the order listed.
When sanitizing an activity changeeset, we iterate through all changes, build a dictionary, and then iterate through that. This can cause the second iteration to be in a different order from the first on some versions of Python. While probably harmless in normal use, this does cause sporadic issues with test runs. This change switches the dictionary to be an `OrderedDict`, so that the order is preserved.
4e3b4a1b848f66e87da11a64f336605c88df55ee
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (93a74c1)
Loading...