I'm trying to compare files between two labels with cleartool but I can't seem to figure out how to find the preceding label to the label given.
As for now my command looks like this
cleartool find . -element "{lbtype_sub(TEST_APP_123456-80_1.1.C.004) &&
lbtype_sub(TEST_APP_123456-80_1.1.C.005)}" -type f
-ver "{lbtype(TEST_APP_123456-80_1.1.C.004) && !lbtype(TEST_APP_123456-80_1.1.C.005)}"
-exec "cmd /c copy %CLEARCASE_PN% C:\diff"
In this case the preceding label is provided but it would be nice if cleartool could find it by itself by just providing the latest label.