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

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

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.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
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 David Trowbridge
rbtools/clients/clearcase.py
Loading...