CC/VV: sort directory contents before creating directory diffs.

Review Request #12650 — Created Sept. 28, 2022 and submitted

Information

RBTools
release-3.x

Reviewers

We're seeing an odd case where cleartool ls is giving us directory
contents in different orders at different times. This causes directory
diffs to sometimes fail to patch on the server side. This change adds a
step to sort the ls output before we use it.

  • Ran unit tests.
  • Tested with a directory diff and saw things still worked as expected.
Summary ID
CC/VV: sort directory contents before creating directory diffs.
We're seeing an odd case where `cleartool ls` is giving us directory contents in different orders at different times. This causes directory diffs to sometimes fail to patch on the server side. This change adds a step to sort the ls output before we use it. Testing Done: - Ran unit tests. - Tested with a directory diff and saw things still worked as expected.
319ab229090f915368c498a22f23c30c0ef2b310
maubin
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (2835c78)
Loading...