Fix creating diffs for UCM activities whose changes are in other VOBs.

Review Request #12894 — Created March 15, 2023 and submitted — Latest diff uploaded

Information

RBTools
release-4.x

Reviewers

One of our more recent changes to improve the versioning of elements in
ClearCase/VersionVault introduced a problem where if the element was not inside
the same VOB as the CWD, we'd hit an error trying to query for its version. This
change adds the VOB UUID as a part of the path that we query, allowing this to
work across VOBs.

Posted a UCM activity where all of the changes existed in a VOB other than the
one in my CWD. Before this change, I was getting an error executing cleartool.
After, the diff is posted successfully.

Diff Revision 1

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

orig
1
2

Commits

First Last Summary ID Author
Fix creating diffs for UCM activities whose changes are in other VOBs.
One of our more recent changes to improve the versioning of elements in ClearCase/VersionVault introduced a problem where if the element was not inside the same VOB as the CWD, we'd hit an error trying to query for its version. This change adds the VOB UUID as a part of the path that we query, allowing this to work across VOBs. Testing Done: Posted a UCM activity where all of the changes existed in a VOB other than the one in my CWD. Before this change, I was getting an error executing cleartool. After, the diff is posted successfully.
053d93eb66760d4ed64f58006cb91e5b7033a5a4 David Trowbridge
rbtools/clients/clearcase.py
rbtools/clients/tests/test_clearcase.py
Loading...