locked
"Compare with Workspace Version" and "Comarpe with Latest Version" difference RRS feed

  • Question

  • Hi all,

    In my eyes, these are the same. Workspace hold TFS server's code locally. Could you give some exemplary scenarios to use each of them?

    thanks,

    Shu Zi

     

    Tuesday, July 10, 2018 2:26 PM

Answers

  • I believe the former compares the changes you've made at the point where you effectively checked out the source, the latter compares
    your source with the latest version in TFS.

    Dave

    Tuesday, July 10, 2018 4:31 PM
  • Hi,

    thanks for posting here.

    >>In my eyes, these are the same. Workspace hold TFS server's code locally. Could you give some exemplary scenarios to use each of them?

    If no other people check in files since your checkout, then the both of the above produce exactly the same result.

    Comparing with workspace version actually compares the edited file with the version of file at the time you checked out (compares exclusively your changes).

    Comparing with latest version compares the edited file with latest version of file present at your code repository i.e. it might include changes made by others. 

    Hope this could be help of you.

    Best Regards,

    Baron Bi


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 11, 2018 6:03 AM

All replies

  • I believe the former compares the changes you've made at the point where you effectively checked out the source, the latter compares
    your source with the latest version in TFS.

    Dave

    Tuesday, July 10, 2018 4:31 PM
  • Hi,

    thanks for posting here.

    >>In my eyes, these are the same. Workspace hold TFS server's code locally. Could you give some exemplary scenarios to use each of them?

    If no other people check in files since your checkout, then the both of the above produce exactly the same result.

    Comparing with workspace version actually compares the edited file with the version of file at the time you checked out (compares exclusively your changes).

    Comparing with latest version compares the edited file with latest version of file present at your code repository i.e. it might include changes made by others. 

    Hope this could be help of you.

    Best Regards,

    Baron Bi


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 11, 2018 6:03 AM
  • thanks Baron Bi !

     whether can provide a book covering this kind of topic?

    thanks again,

    Wednesday, July 11, 2018 4:57 PM
  • Thanks Dave!
    Wednesday, July 11, 2018 4:59 PM
  • Hi Dave,

    Could  you provide some books on topics like Team Foundation version control?

    thanks,

    Shu ZI

    Wednesday, July 11, 2018 9:07 PM
  • >Could  you provide some books on topics like Team Foundation version control?

    I've never read any books on it. All I can suggest is that you search and check reviews to see what others say.

    Dave

    Wednesday, July 11, 2018 11:37 PM