A little background: I'm trying to add labeling support to my Rational Team Concert VCS plugin.
I've implemented the LabelingSupport interface and the label method gets called as expected, but the value of label looks like its off by one...
I was expecting that if the version returned by VcsSupportCore.getCurrentVersion is buildserver-8 and I trigger a build then the value passed to the label method would be buildserver-8.
Instead label is called with buildserver-7...
If I trigger a custom build and select "[10 Apr 13:31] (com.systematic.tools.rtc: buildserver-8) simon soendergaard: bas" as "Last change to include:", label are still called with the value buildserver-7
In general it looks like its always one lower that what I expect.
So it the is behavour intentional and if not what could be triggering it?
fromVersion parameter in BuildPatchByCheckoutRules.buildPatch() is also off by one.
toVersion parameter in UpdateByCheckoutRules2.updateSources() is also off by one.
Tested with TeamCity 6.5.6 and 7.0.2