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 3 (Latest)

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.
0c2b5fdb9ae94e041cd061ccab302b446fd50359 David Trowbridge
rbtools/clients/clearcase.py
Loading...