There is a recurring issue in my team that is driving me nuts.
People claim that some check-ins in Team Foundation Server are overwriting previous check-ins/existent code.
They claim you always need to do a Get Latest Version
before doing a check-in.
In other words, running a get latest is a pre-requisite for a proper check-in.
I, in response, reply as follows:
There must be a TFS
definition/setting that we are missing/we left unchecked, if the described above is really happening. What would be the point in having a Version Control system that will not automatically warn you about code conflicts upon checking in (if before your check in someone else checked in different code than yours) ? I would understand if there were settings that set this or that behavior (check in regardless of what is there in the db now or warn if there are conflicts and prompt for action (merge)).
I want to understand: am I wrong ?! Is this simply the way TFS
works ? Get Latest
is mandatory before any check ins, no matter what ?!
As a side note, if checking in without manually running a get latest is risky and dangerous, why would Microsoft not make this the default behavior ?!
Thanks in advance!