concept merge operation in category system administration

appears as: merge operations, merge operation, merge operations
Team Foundation Server 2008 in Action

This is an excerpt from Manning's book Team Foundation Server 2008 in Action.

  • If your fellow developers maintain private folder structures, how would you know that a particular file has been changed and needs to be integrated? If team members don’t know about concurrent changes to the same file, then whoever copies the file last to the shared folder overwrites everyone else’s changes. Even if people somehow find out about concurrent changes, how would you manage the merge operations? How do you decide who merges first, who merges next, and so on? You’ll probably need to get the parties together and work out a conflict resolution strategy. As the number of people or the number of files increases, you’ll run into major problems if you follow an ad hoc strategy for managing code.
  • Merging involves transferring changes from one branch to another. It’s important to understand that merging doesn’t mean comparing two branches and reconciling their differences. Therefore, when merging between two branches, the direction of the merge is important. As a simple example, if you create a branch from the main codeline, make changes in the branch, and then try to merge from main to branch, TFVC will inform you that there are no changes to merge. On the other hand, if you try to merge from branch to main, TFVC will show the changes that you made in the branch and help you incorporate them in the main. The target files in a merge operation are always the ones that are located at the tip of the target branch (the latest version of each file). In TFVC, you can’t merge changes with a version of a target file that isn’t the latest version.