Fix VersionVault directory diffing to handle added/deleted directories.

Review Request #12320 — Created June 1, 2022 and submitted — Latest diff uploaded

Information

RBTools
release-3.x

Reviewers

The directory diffing phase in the VersionVault client exists in order to
properly get change type and metadata for added, deleted, or renamed files. This
was hitting problems with added or deleted directories, adding them as
additional changed files. These would then get added to the diff with garbage
diff content and bad paths. This change updates the directory diffing to only
add things to the file list if they are actually files.

Set up a UCM activity with added, nested directories. Saw that the resulting
rbt diff output only included the changed files.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3

Commits

First Last Summary ID Author
Fix VersionVault directory diffing to handle added/deleted directories.
The directory diffing phase in the VersionVault client exists in order to properly get change type and metadata for added, deleted, or renamed files. This was hitting problems with added or deleted directories, adding them as additional changed files. These would then get added to the diff with garbage diff content and bad paths. This change updates the directory diffing to only add things to the file list if they are actually files. Testing Done: Set up a UCM activity with added, nested directories. Saw that the resulting `rbt diff` output only included the changed files.
df88a8cedef1a4858cd60ba536ae3cf7d7915332 David Trowbridge
rbtools/clients/clearcase.py
Loading...