CC/VV: sort directory contents before creating directory diffs.
Review Request #12650 — Created Sept. 28, 2022 and submitted — Latest diff uploaded
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.