Keword expansion (in Version 3.0.5 (2833)) shows dates of previous check-in instead of latest check-in.
Moreover $Header and $Log display different time formats (Z and +02:00, respectively).
For example data, please view the following:
// $Header: /Interfaces/Src/staffweb/staffweb/WebDb.cs 26 2005-06-12 11:21:32+02:00 Hans_Dybkjær $
In the log below, all versions are checked in today, even the one showing 27 May 2005. The last two revisions are solely to illustrate what happens; clearly, the previous time is used (the computer clocks of my computer and the Vault server seem to disagree by about 30 seconds, but this does not affect the illustration)
/* $Log: /Interfaces/Src/staffweb/staffweb/WebDb.cs $
*
* Revision: 26 Date: 2005-06-12 09:21:32Z User: Hans_Dybkjær
* My computer clock now says 11:28
*
* Revision: 25 Date: 2005-06-12 09:15:39Z User: Hans_Dybkjær
* My computer clock says 11:22
*
* Revision: 24 Date: 2005-06-12 09:12:56Z User: Hans_Dybkjær
* Does keyword expansion work?
*
* Revision: 23 Date: 2005-05-27 00:58:33Z User: Hans_Dybkjær
* Added hideShift and useShift parameters.
The checkins are of c# files via Visual Studio.NET 2003.
Is there a workaround, and/or will there be a correction in the next version of Vault?
Best regards,
Hans
dybkjaer@pdc.dk
Keyword explansion shows date of previous check-in
Moderator: SourceGear
I guess Linda just answered my question, before I even finished posting it.
Anyway Linda, there are 2 other keyword expansion related bugs I'd like to see fixed if someone is working in this area.
1) The $Workfile keyword should expand to only the filename NOT the full path.
2) Keywords with 2 colons instead of 1 should truncate the expansion after overwriting all available characters up to the terminating $ and NOT insert more characters.
ie $Date:: 1234112112$ should expand to $Date:: 2005-06-09$ and not to $Date:: 2005-06-09 18:44:45-04:00 $
Thanks,
Mike
Anyway Linda, there are 2 other keyword expansion related bugs I'd like to see fixed if someone is working in this area.
1) The $Workfile keyword should expand to only the filename NOT the full path.
2) Keywords with 2 colons instead of 1 should truncate the expansion after overwriting all available characters up to the terminating $ and NOT insert more characters.
ie $Date:: 1234112112$ should expand to $Date:: 2005-06-09$ and not to $Date:: 2005-06-09 18:44:45-04:00 $
Thanks,
Mike