In short:
I would like to compare file-versions of different branches, to look for
files which have been updated in one branch, but might also need an update
in another. therfore I need to know how to have StarTeam compare
file-contents (optionally using comparison options) and how to view the
differences (if configured, using an alternate application)?
The long story:
I want to distinguish different sorts of 'equality' to distinguish new
functionality (wanted in the root/tip/float) from bug fixes (maybe also
wanted in other/older branches).
* same version
exactly the same for StarTeam (not changed/branched)
// True if "1.7" vs. "1.7"
// False if "1.7" vs. "1.8"
Result := (AFile1.DotNotation = AFile2.DotNotation);
* newer version
(un)equal for for StarTeam only due to "Revision As Of"
(not a branched difference [yet], but a difference due to new functionality)
// True if "1.7" vs. "1.8"
// False if "1.7" vs. "1.7.1"
// False if "1.8" vs. "1.7.1"
Result := (AFile1.ObjectID = AFile2.ObjectID);
* different version
// False if "1.7" vs. "1.8"
// True if "1.7" vs. "1.7.1"
// True if "1.8" vs. "1.7.1"
Result := (AFile1.ObjectID <> AFile2.ObjectID);
However, maybe a branch contains exactly the same changes, or the changes
are superficial (spaces, capitalization). So I'd like to be able to
evaluate the latter two, to check for (real) differences. I looked in the
Help, in my StarTeam-TLB and on the web, but I can't figure out how to do
this. (Although there are a lot of objects/functions that have "Compare",
"Diff" or "Equal" in their name.
Q1a: how to have StarTeam compare file-contents?
Q1b: how to have StarTeam compare file-contents, using comparison options?
If the versions are different, I'd like to be able to compare the
differences.
Q2: how to launch my StarTeam difference viewer (maybe configured as an
alternate application)?