I use these keywords:
$History: $
I have multiple files where the keyword expansion duplicated the datetime from one version to the next.
However, the vault history properly shows the checkin date.
This problem has occurred over the 3 month history I've been using keyword expansion. It doesn't occur on everyfile everytime. It seems a bit random. As a matter of fact, I have some files which it occured upon once and not again.
When I say duplicated, I mean I get this keyword expansion text:
'Source Control History 'xxx $
'
' ****************** Version 15 ******************
' User: junjun.bi Date: 2005-02-09 Time: 10:52:00-05:00
' Updated in: xxx
' Changed word "Triangle" to "Flarion".
'
' ****************** Version 14 ******************
' User: junjun.bi Date: 2004-12-17 Time: 13:13:27-05:00
' Updated in: xxx
' Added function WODefects.inc to display "Listed Defects:"
'
' ****************** Version 13 ******************
' User: christopher.pope Date: 2004-12-17 Time: 13:13:27-05:00
' Updated in: xxx
' Added source control history region
You see version 13 and 14 have the same date for the keyword expansion. However, the vault history shows the results shown in the attachment.
The next weird thing is that the keyword expansion datetimes do not match the vault history datetimes at all. For example, version 13 keyword expansion shows 12/17/2004 13:13:27, Vault shows 12/17/2004 13:03:44
Keyword Expansion puts wrong date in source file
Moderator: SourceGear
Keyword Expansion puts wrong date in source file
- Attachments
-
- VaultHist.txt
- (383 Bytes) Downloaded 554 times
Vault client 3.0.2
3.0.2
I can reproduce this at will
I have a set of files that if I update them and check them in, the keyword expansion will reproduce the date.
However, it will only do this once for each file. As I update and checking the files over time, the set of files will diminish until there are no more.
This is a production system, but I do not have a problem with turning on logging and adding some unobtrusive update to the source file with a comment or something. Let me know if you want me to help you test this.
However, it will only do this once for each file. As I update and checking the files over time, the set of files will diminish until there are no more.
This is a production system, but I do not have a problem with turning on logging and adding some unobtrusive update to the source file with a comment or something. Let me know if you want me to help you test this.