Force get latest version before update


hi,

is there way force users of tfs latest version sourcecontrol before cheching in changes?

get latest version on checkout doesn't work becaus if working on file couple of hours file can changed , checked in else. 

thx pieter

if file has changed since last time got latest, prompted resolve conflicts.  tfs won't let overwrite newer version of file without going through conflict resolution first.

so if got latest morning at 9:00 and worked on changes, checked out @ 9:30 , checked in @ 10:00.  when check in @ 10:30 going prompted resolve conflicts between 10:00 check-in , yours.  in cases auto-merge feature works, unless same lines of code changed in case you'll have open merge window.

so tfs forcing latest, in sense.  if latest before checking in, changes wouldn't lost...you prompted resolve conflicts if changed file checked-in else since last time checked out.


esteban garcia - my blog


Archived Forums V  >  Team Foundation Server - General



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........