Fix VersionVault directory diffing to handle added/deleted directories.
Review Request #12320 — Created June 1, 2022 and submitted
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.
- Commits:
-
Summary ID f682a53e25535c15f0d439bccf02e13ead72860f df88a8cedef1a4858cd60ba536ae3cf7d7915332 - Branch:
-
masterrelease-3.x
- Diff:
-
Revision 2 (+90 -60)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID df88a8cedef1a4858cd60ba536ae3cf7d7915332 0c2b5fdb9ae94e041cd061ccab302b446fd50359 - Diff:
-
Revision 3 (+92 -60)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.