TFS 2008 Tips and Tricks: Enable Get Latest on Check Out

In this post we will look into how can we enable get latest when doing check-outs while using TFS 2008. In case of a general development team where multiple devs are working on a project and modifying different portion of it we cant have exclusive locks most of the time as it restricts the capabilities of parallel or fast sequential development. So, in this type of general scenario we see the requirement of automatic get latest when somebody checks out a file as it would help in later merging of the file with server version.

TFS 2008 provides us with this option in team project settings -> souce control -> to select the option of get latest on check out. To find this option go to Team Explorer, if Team Explorer is not visible along with solution explorer then go to visual studio menu and under view you can find team explorer. Click it to open team explorer which will show all the team projects assigned to you. You can find source control link under team project too but this is not what we have to use here instead we have to find the source control by right clicking team project name as shown below:

checkout-1

Now when we click on source control the below window gets opened where we have to click get latest on check out option as outlined in the image too:

checkout-21

Hope this helps in case you are looking for it too.

bye for now.

-Sushant

5 Responses to TFS 2008 Tips and Tricks: Enable Get Latest on Check Out

  1. waseem says:

    Dear
    I am waseem here. I am using TFS 2008 with Scrum template. My TFS was working very well since many days but yesterday I have seen that source control option is disabled. I mean the option which comes from right click on Project and go to team project settings and source control. Please let me know why it is disabled and what was the reason. and now how can I enable this option. so that I can implement policies.

    Thanks

  2. R.Iyer says:

    This approach might not always be a good idea.
    a. Only project admins should / would have rights to modfify team project settings
    b. If you want to rollback a changeset, ‘Get Latest on Checkout’ should be disabled. Else you will never be able to checkout the previous version you want to revert to!

    The better way is to go to Tools – Options – Source Control – Visual Studio TFS and enable the option there so that developers have more control over their IDE environment so as to enable or disable this property whenever they want to.

  3. R.Iyer says:

    Thanks for posting.
    This approach might not always be a good idea.

    a. Only project admins should / would be able to modify team project settings
    b. If you want to rollback a changeset, ‘Get Latest on Checkout’ should be disabled. Else, you will never be able to checkout the previous version you want to revert to!

    So, this property should not be set globally at the team project level. The developers should edit their IDE settings locally.
    Go to Tools – Options – Source Control – Visual Studio TFS and enable / disable the property there.

  4. Adsense says:

    Adsense…

    [...]TFS 2008 Tips and Tricks: Enable Get Latest on Check Out « Sushantp’s Weblog[...]…

  5. Hacking tips, tricks…

    [...]TFS 2008 Tips and Tricks: Enable Get Latest on Check Out « Sushantp’s Weblog[...]…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.