tags:

views:

30

answers:

2

Hi, I'm doing a merge of files in TFS. It's a bit tricky because some files in the target have been moved or deleted.

After doing the merge and resolving conflicts, TFS shows a number of pending changes with status "merge".

If I check these in, will any files change?

I'm thinking that if I check in pending changes that are shown (in the Change column) with status "merge" that this just updates merge records in TFS so that if I repeat the merge it won't try and re-merge these files unless they've changed. Is this right? I don't want to check in this great big list of files and end up changing the contents/names/deleted status of files.

A: 

The merge status means that the file is checked out because of a merge operation. If you perform a check-in on this file, it will replace the previous version.

The file is already completely merged locally, so you can examine the content.

I stronly advice to be sure everything builds, and all unit tests (if you have any) succeed before checking in a merger like that.

Gerrie Schenck
A: 

If the files in your workspace are the same as the latest version the checkin won't include those files in the changeset.

Ryan