Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS [merge] tag meaning in a code review of a merge

Tags:

c#

merge

tfs

In the code reviews that i saw the files almost always have some merge tags in right of the file name e.g.

filename.cs [merge, edit]
filename.cs [merge, delete]
filename.cs [merge, branch]

What means when the file names with only merge inside the brackets?

e.g.

filename.cs [merge]

To be honest I don't know the real meaning of none of the tags above for sure, but I dont have any clue about the meaning of the last one

like image 750
Raoni Zacaron Avatar asked Dec 08 '25 08:12

Raoni Zacaron


1 Answers

In TFS, if it shows [merge,edit] which mean it contains two status of this file, [merge] status and [edit] status.

  • [merge] status for the unchanged file but have a merge action
  • [merge,edit] status for the files in target updated with source content
  • [merge branch] for the new add item in target, which copied from source
  • [merge,delete] delete file in target
  • [merge,undelete] undelete file in target
  • [merge,rename] rename file in target
  • [merge,rename,edit] rename a file in target and update its contents

Never see a [merge, add] status, this can't be combined.

like image 66
PatrickLu-MSFT Avatar answered Dec 09 '25 23:12

PatrickLu-MSFT