What does it mean when Source Control Explorer shows both branch and merge for a changeset?

后端 未结 2 1089
梦如初夏
梦如初夏 2021-02-02 15:33

I am trying to understand the history of my codebase, which resides in TFS 2005, and I encountered a changeset where all changes were marked as both branch and merge.

         


        
相关标签:
2条回答
  • 2021-02-02 16:25

    Merge can be combined with anything except Add. On its own, Merge just means that (1) whatever happened is the result of invoking the Merge command (2) when you checkin, TFS will record the appropriate merge history metadata in addition to the changes themselves. The remaining operation(s) in the list of changetypes tells you exactly what kind of change is being applied to the target item. Thus:

    Merge, Branch = an item that exists in the source branch but not the target branch is being copied over to the target for the first time

    0 讨论(0)
  • 2021-02-02 16:34

    This might make sense if the file were created during a branch operation and changes from the source branch were then merged into the new branch without having checked in at any point.

    0 讨论(0)
提交回复
热议问题