Menu

#29 fail to history query to VSS

1.5 RC1
open
nobody
5
2004-10-26
2004-10-26
No

- Environment
OS: Windows2003 Korean Edition
Draco.NET: 1.5
Source Control: Visual Source Safe 6.0d

- Symptom
After finishing the setup and configuation of VSS and
Draco.net, VSS history query is failed.

- Reason
After I check draco.log, I found the reason is invalid
time setting in -Vd option of history query.
It happened by default CultureInfo.
Korean CultureInfo generated AM and PM sign in
Korean. then VSS could not recognize them.

- Resolution
So, I change the code in ToVssDate function of
Chive.Draco.Scc.VssRepository class like below.

return dateTime.ToString(vssDateTimeFormat, (new
CultureInfo("en-US")).DateTimeFormat);

then, it works fine.

Discussion


Log in to post a comment.