timestamp when Getting Latest from TFS and does it matter?

后端 未结 3 1490
灰色年华
灰色年华 2020-12-14 03:22

I\'m not sure why I never noticed this before but when I \"Get Latest\" from TFS, the date and time on the files in my local working folder are set to the current date and t

3条回答
  •  别那么骄傲
    2020-12-14 03:36

    As mentioned, that is the default behavior of TFS. It's the fist version control system I've used where that is the default setting. The problem with using current time for files when a developer gets latest, is that you can only tell if you have the latest version by doing a file compare on each file. Three different developers on the same project will have 3 different date time values for the same version of a file. Either way, always do a project clean before creating builds. Why? Because you might have tweaked a file or two, then after testing, reverted to the latest checked-in version. In my experience it's always better to use the checked-in time.

提交回复
热议问题